How to Install Linux Kernel 4.7.2 on Ubuntu 16.04 LTS

Linux kernel 4.7.2 was released on August 20, 2016. Highlights in this release:

  • Improvement to ARM64, ARC, MIPS, s390, x86 and PowerPC
  • Multiple updated drivers for AMDGPU, ACPI, BCMA, Bluetooth, GPIO, CLK, CPUFreq, EDAC, Intel i915, Nouveau, Radeon, Rockchip, I2C, InfiniBand, IOMMU, MD, MFD, iwlwifi, PHY, PINCTRL, SCSI, SPI, TTY, USB and Virtio.
  • Improved Btrfs, CIFS, JBD2, NFS, OverlayFS and XFS support
  • Enhancement for core kernel, mm, core networking and sound track

If you like to live on the cutting edge, or there’s a hardware component that doesn’t work, then here’s how to quickly install Linux kernel 4.7.2 on Ubuntu 16.04 LTS Xenial Xerus without manual compiling.

Install Linux Kernel 4.7.2 on Ubuntu 16.04 LTS

The following steps are also tested on Debian 8 Jessie, Deepin Linux 15.2, Linux Mint 18 and Elementary OS Loki.

Open up a terminal window (CTRL+ALT+T) and run the following commands to download Linux kernel header and Linux kernel image binaries from ubuntu website.

64 bits

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-headers-4.7.2-040702_4.7.2-040702.201608201334_all.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-headers-4.7.2-040702-generic_4.7.2-040702.201608201334_amd64.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-image-4.7.2-040702-generic_4.7.2-040702.201608201334_amd64.deb

32 bits

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-headers-4.7.2-040702_4.7.2-040702.201608201334_all.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-headers-4.7.2-040702-generic_4.7.2-040702.201608201334_i386.deb

wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.2/linux-image-4.7.2-040702-generic_4.7.2-040702.201608201334_i386.deb

Then install all of the above kernel packages with dpkg.

sudo dpkg -i linux-*4.7.2*.deb

The Grub boot menu will be automatically updated during installation. Once they are installed, reboot your computer with:

sudo shutdown -r now

And choose kernel 4.7.2 in Grub boot menu. To check your kernel version, run this command:

uname -r

linux kernel 4.7.2 ubuntu 16.04

If for any reason you want to uninstall it, then reboot your computer to previous kernel version and run the below command to remove 4.7.2.

sudo apt remove 'linux-headers-4.7.2*' 'linux-image-4.7.2*'

That’s it! As always, if you found this post useful, then subscribe to our free newsletter or follow us on Google+, Twitter or like our Facebook page. Thanks for visiting!

Rate this tutorial
[Total: 8 Average: 4.4]

5 Responses to “How to Install Linux Kernel 4.7.2 on Ubuntu 16.04 LTS

  • Gugumo Mix
    8 years ago

    hello,
    i am on a laptop asus x554l / ubuntu 16.04 lts (something relatively new) with the controller mt7630e with the kernel upgrade’s was impossible to restore the wifi, i cleaned all like i did with other kernel upgrade’s but this time, i needed to restore the previous kernel, i saw errors like never before …. like something about the 5 Go wifi channel’s, this is not my level too strong for me, but if someone need the info’s to do a better upgrade i do again and share all …thanks to resolve the problem with this sheet of controller mt7630e he is very bad not linux, with windows it doesn t run very weel too this is impossible to restore the bluetooth

    GUGU

  • No md5, sha512sum check for the downloads?

    • Xiao Guo-An (Admin)
      8 years ago

      The sha256 checksum can be found at Ubuntu kernel 4.7.2 checksums

      • Tam Jid
        8 years ago

        Thanks.
        I tried to install the kernel in elementary-loki
        it shows error message:
        ============================================================================
        dpkg -i linux-*.deb
        Selecting previously unselected package linux-headers-4.7.2-040702.
        (Reading database … 150676 files and directories currently installed.)
        Preparing to unpack linux-headers-4.7.2-040702_4.7.2-040702.201608201334_all.deb …
        Unpacking linux-headers-4.7.2-040702 (4.7.2-040702.201608201334) …
        Selecting previously unselected package linux-headers-4.7.2-040702-generic.
        Preparing to unpack linux-headers-4.7.2-040702-generic_4.7.2-040702.201608201334_amd64.deb …
        Unpacking linux-headers-4.7.2-040702-generic (4.7.2-040702.201608201334) …
        Selecting previously unselected package linux-image-4.7.2-040702-generic.
        Preparing to unpack linux-image-4.7.2-040702-generic_4.7.2-040702.201608201334_amd64.deb …
        Done.
        Unpacking linux-image-4.7.2-040702-generic (4.7.2-040702.201608201334) …
        Setting up linux-headers-4.7.2-040702 (4.7.2-040702.201608201334) …
        Setting up linux-headers-4.7.2-040702-generic (4.7.2-040702.201608201334) …
        Examining /etc/kernel/header_postinst.d.
        run-parts: executing /etc/kernel/header_postinst.d/dkms 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic

        Error! Bad return status for module build on kernel: 4.7.2-040702-generic (x86_64)

        Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
        Setting up linux-image-4.7.2-040702-generic (4.7.2-040702.201608201334) …
        Running depmod.
        update-initramfs: deferring update (hook will be called later)
        Examining /etc/kernel/postinst.d.
        run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic
        run-parts: executing /etc/kernel/postinst.d/dkms 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic

        ERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/bcmwl-kernel-source.0.crash’
        Error! Bad return status for module build on kernel: 4.7.2-040702-generic (x86_64)

        Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
        run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic
        update-initramfs: Generating /boot/initrd.img-4.7.2-040702-generic
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_smc_sk.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_smc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_smc_sk.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_smc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_mc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_mc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_rlc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_mec2.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_mec.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_me.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_pfp.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_ce.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_rlc.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_mec2.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_mec.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_me.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_pfp.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_ce.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_sdma1.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_sdma.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_sdma1.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_sdma.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_uvd.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_uvd.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris11_vce.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/amdgpu/polaris10_vce.bin for module amdgpu
        W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915
        W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915
        run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic
        run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.7.2-040702-generic /boot/vmlinuz-4.7.2-040702-generic
        Generating grub configuration file …
        ……….
        ============================================================================

  • Yash Pal
    8 years ago

    Will it not be included by Ubuntu in the updates?

Leave a Comment

  • Comments with links are moderated by admin before published.
  • Your email address will not be published.
  • Use <pre> ... </pre> HTML tag to quote the output from your terminal/console.
  • Please use the community (https://community.linuxbabe.com) for questions unrelated to this article.
  • I don't have time to answer every question. Making a donation would incentivize me to spend more time answering questions.

The maximum upload file size: 2 MB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here