Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys prob a silly question...
i only just read now that linux kernel v4 was released about 11 days ago...can any distros upgrade there kernel to 4 or only specific ones?
Is there really a huge benefit in doing so?
should i just lookup the information in the distros web site?
so is it only really the most up to date distros that can take advantage of 4?
could you upgrade centos7,debian wheezy and slackware 14.1 to kernel v4?
could you upgrade centos7,debian wheezy and slackware 14.1 to kernel v4?
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
The elrepo repository has a 4.0 kernel that is built for CentOS 7 (also one for CentOS 6, which I am using). To use it, go to the elrepo.org site, import the public key, and install the elrepo-release RPM, as instructed on the home page. Then run
Code:
yum --enablerepo=elrepo-kernel install kernel-ml
(To avoid conflict with the standard kernel versions, the elrepo mainline kernel packages are named "kernel-ml".)
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
I know that Slackware can be used with a new kernel compiled. Not that much trouble to get the source and configure locally.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by veerain
No one can upgrade/update the kernel for distros but only distro developers can do that. Except for may be distros that are built from source and used.
I'm not sure exactly what you mean by this? I'm running kernel 4.0 on this laptop and kernel 3.19 on my desktop* -- both of which are running Debian Sid which only has kernel 3.16 installable if headers are required. I did so by building .deb packages using the source from kernel.com.
*Problems with NVIDIA dkms not working with kernel 4.0.
Debian has a kernel-package package along with standard build tools. This will let you roll your own kernel package and not have to wait for said distro to adopt a new kernel. Bear in mind that a lot of patches (security wise) are back ported and even though a distros kernel might have an OLD version number, it may not be as OLD as it might seem in the package manager.
The build process is fairly simple if you're familiar with it. Copy the /boot/config, then make oldconfig, and other kernel build procedures. Which haven't changed much in 20+ years. Aside from a lot of girth from a larger source tree. And the resulting size of the kernel. At worst, try it, but keep the OLD kernel to recover with if it doesn't work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.