Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Security
Guides - Privacy & Security Tips
Upgrade Kernel in Linux Distributions
Message
<blockquote data-quote="Soulbound" data-source="post: 336525" data-attributes="member: 33155"><p>Hi All,</p><p></p><p>Below is how one could choose to upgrade the current Linux Kernel to latest available version.</p><p></p><p>Note that the only thing that is not covered here is the manual Kernel compiling method which can be used on Fedora/OpenSUSE/Gentoo based systems.</p><p></p><p>Both Fedora and OpenSUSE ship with a specific Kernel type. At time of writting this, Fedora should be already on Kernel 3.17, if not it is soon to be, as it was released with 3.16. OpenSUSE 13.2 was released with 3.16 as well. On usual updates of the distro (not to confuse with upgrade), a new version is released by the relevant distro teams accordingly, improving stability, hardware and software support etc.</p><p></p><p>The same applies to Ubuntu based systems, Arch Linux and up to a certain extend Debian (Debian stable however not so much at all).</p><p></p><p>Cannot talk about Gentoo as I have not used much of it and it is a hard system to get the hang of it.</p><p></p><p>So here are the methods I have used so far, broken down by its based system.</p><p></p><p><em><strong>IMPORTANT: Please ensure you are running as ROOT. Commands are with that in mind. If you want to be under ROOT, issue the SUDO command or SU - before typing the main commands.</strong></em></p><p></p><p><strong>Ubuntu family and derivatives (Ubuntu/Kubuntu/Xubuntu/Lubuntu - linux Lite - Ubuntu Mate - Elementary OS Luna etc):</strong></p><p></p><p>Easiest way to<span style="color: #000000"> manually upgrade your Kernel is:</span></p><p><span style="color: #000000">Go to the <span style="color: #000000"><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/" target="_blank"><span style="color: #000000">Ubuntu Kernel PPA Mainline site</span></a>, </span>look for latest version (at time of writing, latest stable release (not Release Candidate (RC)) was 3.18 Vivid.</span></p><p><span style="color: #000000">Go inside the link and download manually the following packages (note that with new releases numbers will change but you must have both Headers and Image):</span></p><p><span style="color: #000000"><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-headers-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb" target="_blank"><span style="color: #000000">linux-headers-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb</span></a></span></p><p><span style="color: #000000"><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-headers-3.18.3-031803_3.18.3-031803.201501161810_all.deb" target="_blank"><span style="color: #000000">linux-headers-3.18.3-031803_3.18.3-031803.201501161810_all.deb</span></a></span></p><p><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-image-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb" target="_blank"><span style="color: #000000">linux-image-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb</span></a></p><p></p><p>NOTE: I went with 32bit for this example.</p><p></p><p>Once downloaded, open the terminal of your choice and do the following commands:</p><p></p><p></p><p></p><p>Note: Downloads is assuming thats the location where you have downloaded the deb files. Make sure no older or other kernel deb files present.</p><p></p><p>Once the above is done, simply reboot and you will have the choice to then boot up on the new kernel.</p><p></p><p></p><p></p><p><strong>Debian 7 Wheezy and any variant (Crunchbang Linux):</strong></p><p></p><p>Easiest method is to update it via Backports to Testing branch. You will need to add the Backports sources. Once done:</p><p></p><p>Do the following commands on the terminal of your choice:</p><p></p><p></p><p>Reboot and voila.</p><p>The above command also applies to stable version (should there be any updates).</p><p></p><p><strong>Another method, which is the one I have always used is to use Liquorix Project Kernel.</strong></p><p></p><p></p><p>To do so, open a terminal and manually edit the sources list (or simply add it on synaptic): Below is the liquorix source list, which usually you would disable if you manually add it to the existing source list by using ## instead of #.</p><p></p><p>[code]</p><p>/etc/apt/sources.list.d/liquorix.list</p><p>deb http://liquorix.net/debian sid main</p><p>deb-src http://liquorix.net/debian sid main</p><p>[/code]</p><p></p><p></p><p>Make sure that the list has: </p><p># Mirrors:</p><p>#</p><p># Unit193 - France</p><p># deb <a href="http://mirror.unit193.net/liquorix" target="_blank">http://mirror.unit193.net/liquorix</a> sid main</p><p># deb-src <a href="http://mirror.unit193.net/liquorix" target="_blank">http://mirror.unit193.net/liquorix</a> sid main</p><p>#</p><p># Liquorix - Cloudfront Global CDN</p><p># deb <a href="http://cdn.liquorix.net/debian" target="_blank">http://cdn.liquorix.net/debian</a> sid main</p><p># deb-src <a href="http://cdn.liquorix.net/debian" target="_blank">http://cdn.liquorix.net/debian</a> sid main</p><p></p><p>Then, run in a terminal this command to install the keyring since all files from Liquiorix are signed:</p><p></p><p></p><p></p><p>Now to install it Run in a terminal the following command and then reboot:</p><p></p><p>Reboot and done.</p><p></p><p>For Arch Linux, I suggest you to visit the Arch Wiki accordingly.</p><p></p><p></p><p><strong>Bonus</strong>: You can also go Liquorix kernel path to install it in Ubuntu Based Systems, but its slightly more different and well, use it at your own risk:</p><p></p><p>Issue the following commands in your terminal:</p><p></p><p></p><p>Then run the following commands:</p><p></p><p>Reboot.</p><p></p><p>Hope this helps anyone who has any queries in upgrading kernels.</p></blockquote><p></p>
[QUOTE="Soulbound, post: 336525, member: 33155"] Hi All, Below is how one could choose to upgrade the current Linux Kernel to latest available version. Note that the only thing that is not covered here is the manual Kernel compiling method which can be used on Fedora/OpenSUSE/Gentoo based systems. Both Fedora and OpenSUSE ship with a specific Kernel type. At time of writting this, Fedora should be already on Kernel 3.17, if not it is soon to be, as it was released with 3.16. OpenSUSE 13.2 was released with 3.16 as well. On usual updates of the distro (not to confuse with upgrade), a new version is released by the relevant distro teams accordingly, improving stability, hardware and software support etc. The same applies to Ubuntu based systems, Arch Linux and up to a certain extend Debian (Debian stable however not so much at all). Cannot talk about Gentoo as I have not used much of it and it is a hard system to get the hang of it. So here are the methods I have used so far, broken down by its based system. [I][B]IMPORTANT: Please ensure you are running as ROOT. Commands are with that in mind. If you want to be under ROOT, issue the SUDO command or SU - before typing the main commands.[/B][/I] [B]Ubuntu family and derivatives (Ubuntu/Kubuntu/Xubuntu/Lubuntu - linux Lite - Ubuntu Mate - Elementary OS Luna etc):[/B] Easiest way to[COLOR=#000000] manually upgrade your Kernel is: Go to the [COLOR=#000000][URL='http://kernel.ubuntu.com/~kernel-ppa/mainline/'][COLOR=#000000]Ubuntu Kernel PPA Mainline site[/COLOR][/URL], [/COLOR]look for latest version (at time of writing, latest stable release (not Release Candidate (RC)) was 3.18 Vivid. Go inside the link and download manually the following packages (note that with new releases numbers will change but you must have both Headers and Image): [URL='http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-headers-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb'][COLOR=#000000]linux-headers-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb[/COLOR][/URL] [URL='http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-headers-3.18.3-031803_3.18.3-031803.201501161810_all.deb'][COLOR=#000000]linux-headers-3.18.3-031803_3.18.3-031803.201501161810_all.deb[/COLOR][/URL][/COLOR] [URL='http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.3-vivid/linux-image-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb'][COLOR=#000000]linux-image-3.18.3-031803-generic_3.18.3-031803.201501161810_i386.deb[/COLOR][/URL] NOTE: I went with 32bit for this example. Once downloaded, open the terminal of your choice and do the following commands: Note: Downloads is assuming thats the location where you have downloaded the deb files. Make sure no older or other kernel deb files present. Once the above is done, simply reboot and you will have the choice to then boot up on the new kernel. [B]Debian 7 Wheezy and any variant (Crunchbang Linux):[/B] Easiest method is to update it via Backports to Testing branch. You will need to add the Backports sources. Once done: Do the following commands on the terminal of your choice: Reboot and voila. The above command also applies to stable version (should there be any updates). [B]Another method, which is the one I have always used is to use Liquorix Project Kernel.[/B] To do so, open a terminal and manually edit the sources list (or simply add it on synaptic): Below is the liquorix source list, which usually you would disable if you manually add it to the existing source list by using ## instead of #. [code] /etc/apt/sources.list.d/liquorix.list deb http://liquorix.net/debian sid main deb-src http://liquorix.net/debian sid main [/code] Make sure that the list has: # Mirrors: # # Unit193 - France # deb [URL]http://mirror.unit193.net/liquorix[/URL] sid main # deb-src [URL]http://mirror.unit193.net/liquorix[/URL] sid main # # Liquorix - Cloudfront Global CDN # deb [URL]http://cdn.liquorix.net/debian[/URL] sid main # deb-src [URL]http://cdn.liquorix.net/debian[/URL] sid main Then, run in a terminal this command to install the keyring since all files from Liquiorix are signed: Now to install it Run in a terminal the following command and then reboot: Reboot and done. For Arch Linux, I suggest you to visit the Arch Wiki accordingly. [B]Bonus[/B]: You can also go Liquorix kernel path to install it in Ubuntu Based Systems, but its slightly more different and well, use it at your own risk: Issue the following commands in your terminal: Then run the following commands: Reboot. Hope this helps anyone who has any queries in upgrading kernels. [/QUOTE]
Insert quotes…
Verification
Post reply
Top