Introduction to Linux - A Hands on Guide | Linux Bible | Linux From Scratch | A Newbie's Getting Started Guide to Linux | Linux Command Line Cheat Sheet | More Linux eBooks



Monday, 24 October 2016

How To : Install or Upgrade to Linux Kernel 4.9-RC2 in Ubuntu/Linux Mint

    The Linux Kernel 4.9-RC2 is now available for the users, announced Linus Torvalds. This Linux Kernel version comes with plenty of fixes and improvements. This article will guide you to install or upgrade to Linux Kernel 4.9-RC2 in your Ubuntu or Linux Mint system.

linux-kernel-4-9-rc2

Installation

For 32-Bit Systems

Download the .deb packages.

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-headers-4.9.0-040900rc2_4.9.0-040900rc2.201610232131_all.deb

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-headers-4.9.0-040900rc2-generic_4.9.0-040900rc2.201610232131_i386.deb

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-image-4.9.0-040900rc2-generic_4.9.0-040900rc2.201610232131_i386.deb
Install them.

$ sudo dpkg -i 'linux-headers-4.9*.deb' 'linux-image-4.9*.deb'
Reboot the system.

sudo reboot

For 64-Bit Systems

Download the .deb packages.

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-headers-4.9.0-040900rc2_4.9.0-040900rc2.201610232131_all.deb

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-headers-4.9.0-040900rc2-generic_4.9.0-040900rc2.201610232131_amd64.deb

$ wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/linux-image-4.9.0-040900rc2-generic_4.9.0-040900rc2.201610232131_amd64.deb
Install them.

$ sudo dpkg -i 'linux-headers-4.9*.deb' 'linux-image-4.9*.deb'
Reboot the system.

sudo reboot

To uninstall,

sudo apt-get remove 'linux-headers-4.9*' 'linux-image-4.9*'

5 comments:

  1. when I enter the install command I get the following error:

    dpkg: error processing archive linux-headers-4.9*.deb (--install):
    cannot access archive: No such file or directory
    dpkg: error processing archive linux-image-4.9*.deb (--install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    linux-headers-4.9*.deb
    linux-image-4.9*.deb

    hope you can help me as I'm new to linux

    ReplyDelete
    Replies
    1. are the deb files in the directory which you executed the dpkg command? use ls and see. if necessary, refer to each deb file explicitly, easy to type in using tab autocompletion

      Delete
    2. // doing without the single quotes should work
      sudo dpkg -i linux-headers-4.9*.deb linux-image-4.9*.deb

      Delete
    3. Thanks babe, that worked.

      Delete
  2. are this kernal good for game server ??
    if not , what kernal must choose for cs 1.6 server ?

    ReplyDelete