English
Ask Your Question
3

How to install specific Kernel version

asked 2014-08-04 18:01:52 +0000

geered gravatar image

Hello! I need help with installing a specific version of Kernel as Nouveau doesn't seem to like Kernel 3.15.x very much (works perfectly fine on older versions)

I searched around a bit but I still have a few questions:

Is it possible to install old Kernel using yum (I cannot find old versions)? I'm afraid of screwing something up (I'm not sure what else I'd need to downgrade/update) and I'd like to let yum handle this.

Currently I have Kernel 3.15.700 and 3.11.10 (so I can either update or downgrade).

Any suggestions/thing I should know before doing it?

Thank you! :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-04 23:34:46 +0000

NikTh gravatar image

updated 2014-08-04 23:36:48 +0000

You can use yum and list all kernel versions that are available (from the enabled repositories at your system) with the following command

yum list --showduplicates kernel

If the kernel you want is on the list, you can install it directly with yum.

yum install kernel-<and the version here>

If you want another kernel that is not listed, you can search at Koji download and install with rpm --oldpackage (as indicated at the link you've provided

or you can even try yum.

You have to know that,

It is stronly recommended, always using the latest stable kernel version that Fedora provides.

Last, but not least, you should exclude the kernel updates from yum, through the /etc/yum.conf file.

Append

exclude=kernel

at the end of the file. This should do the trick. That way, yum will not update the kernel(eg 3.14 version) with the latest (eg 3.15) version.

edit flag offensive delete link more

Comments

1

Just curious, wouldn't some packages conflict if kernel 3.14 was used with more recent packages? Thanks :)

hello ( 2014-08-05 06:49:51 +0000 )edit
1

Also if he installs kernel 3.11, during the next yum update, definitely some packages will complain about needing a newest version of kernel to continue to run those packages. He will have to remove those packages and re-install them again!

anishjp ( 2014-08-05 07:48:28 +0000 )edit

I've already got 3.11.10. But I've got 2 options. I'll either have to deal with constant crashes (~5 min sessions) or I'll use older kernel.

Unfortunately " yum list --showduplicates --obsolete kernel" shows me only 2 kernels so I gotta download and install it manualy. I've got one more question though: do I have to download everything for x86_64 or can I just download kernel 3.14.9 and the rest will download itself after I install it?

geered ( 2014-08-05 10:54:06 +0000 )edit
1

@geered, you need to download "kernel", the "kernel-headers" and the "kernel-modules-extra" . All other packages are for developing, debugging..etc. For simple use you don't need them. But this is not a solution, the solution would be to report any problems you have with nouveau and let the developers fix them. @anishjp, if he exclude the kernel from being updated, he will not have any problem. @hello, the Linux kernel handles the packages and services, not the opposite. I've never had any problem with other versions of kernel (installed manually).

NikTh ( 2014-08-05 13:42:43 +0000 )edit

@NikTh does not seem to work for me. I am on 3.16.2-200.fc20.x86_64 and I need to go to 3.15.10-201.fc20.x86_64. yum install kernel-3.15.10-201.fc20.x86_64.rpm ==> package kernel-3.16.2-200.fc20.x86_64 (which is newer than kernel-3.15.10-201.fc20.x86_64) is already installed whereas rpm -ivh --oldpackage http://ur1.ca/i7qv8

sudhirkhanger ( 2014-09-19 13:56:59 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2014-08-04 18:01:52 +0000

Seen: 48,613 times

Last updated: Aug 04 '14