Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Multiple Ways To Update Linux Kernel In Ubuntu

Multiple Ways To Update Linux Kernel In Ubuntu

Posted on May 4, 2019February 17, 2023 By admin

Update: Linux Kernel 5.2 RC7 Released

In this post, We will go through the multiple ways to update Linux kernel in Ubuntu operating systems. This tutorial is also applicable to the Ubuntu derivatives.

Multiple Ways To Update Linux Kernel In Ubuntu

Most important thing that you should do before updating Linux kernel in Ubuntu is that you should backup your important files.

Method 1:

Upgrade Latest Linux Kernel In Ubuntu using UKTools

You can easily upgrade latest Linux kernel in Ubuntu automatically with this tools. You can also use this tool to upgrade Linux kernel to the latest version in Linux Mint.
Download and install UkTools:

git clone https://github.com/usbkey9/uktools && cd uktools
make

To upgrade Kernel:

$ do-kernel-upgrade

To remove old and unused kernels in Ubuntu :

$ do-kernel-purge

Method 2:

Update the Linux Kernel in Ubuntu with Ukuu

Ukuu is another popular Linux kernel management tool for Ubuntu. You can use it to upgrade Linux kernel in Ubuntu. It will automatically install main line kernel in Ubuntu.

Visit our article on Ukuu to know the process to upgrade Linux kernel in Ubuntu.

Method 3:

Update the Linux Kernel using Linux Kernel Utilities in Ubuntu

Linux Kernel Utilities is  a set of BASH shell scripts which can be used to update Linux kernels. There are 3 scripts in this shell scripts which are used for specific kernel management task.

  • compile_linux_kernel.sh
  • update_ubuntu_kernel.sh
  • remove_old_kernels.sh
READ More Relevant Stuff:  How To Uninstall Software from Terminal in Ubuntu

Compile_linux_kernel.sh:-  This script will compile and install the latest Linux Kernel from the source.

update_ubuntu_kernel.sh:- This script downloads and install/update the already compiled Ubuntu Kernel.

remove_old_kernel.sh:- This script removes all inactive and unused Linux Kernels from the system.

Install Linux Kernel Utilities In Ubuntu:

$ git clone https://github.com/mtompkins/linux-kernel-utilities.git
$ cd linux-kernel-utilities/
$ chmod 750 *.sh
$ git pull

Now, Run the following command to list the available Kernel.

$ ./compile_linux_kernel.sh

Follow the on screen instruction and select the latest kernel. follow the onscreen instructions to compile and install the selected Linux Kernel.

Run the following command to compile and install the latest available Linux Kernel:

$ ./compile_linux_kernel.sh --latest

Run the following command to install precompiled Kernel:

$ ./update_ubuntu_kernel.sh

It will list out the all available pre-compiled Linux Kernels from Kernel.ubuntu.com. You can see the number and you need to enter the desired number to install the selected Kernel.

Now restart your Ubuntu system.

Meanwhile, To install the latest available Linux Kernel, Run the following command:

$ ./update_ubuntu_kernel.sh --latest

Now, Run the following command to remove old kernels.

$ ./remove_old_kernels.sh

Method 4:

Update the Linux Kernel with apt-get

This is the most efficient and recommended method for upgrading the Linux Kernel in Ubuntu.

Run the following commands to update the Linux Kernel in Ubuntu:

$ sudo apt-get upgrade linux-image-generic

Method 5:

This is the manual method of updating Linux Kernel in Ubuntu operating system. You need to the download the Linux Kernel from the official source.

Download Linux Kernel

Or, You can run the following commands to download Linux Kernel for 64-Bit System.

$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
$ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb

Move to the directory where the files are downloaded and run this command to manually install the kernel. Here we are installing Linux Kernel 5.0

$ sudo dpkg -i *.deb

 

READ More Relevant Stuff:  Linux Kernel 5.0 Released | Download Now

This much for now, Let us know if anything is broken in this post.

Ubuntu Tags:kernel, linux kernel, ubuntu

Post navigation

Previous Post: Best Music Players For Ubuntu 22.04 In 2023
Next Post: Install ttyload In Linux : Graphical Tracking Tool For Load Average

Related Posts

How To Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix
How To Hide a File Or Folder In Ubuntu 22.04 LTS? How To Hide a File Or Folder In Ubuntu 22.04 LTS? Tutorials
How To Install jq On Ubuntu 22.04 LTS How To Install jq On Ubuntu 22.04 LTS Linux
Now You Can Try Ubuntu In A Web Browser With Ubuntu Online 21.10 Now You Can Try Ubuntu In A Web Browser With Ubuntu Online 21.10 Ubuntu
How To Set Up Automatic Updates On Ubuntu 22.04 LTS How To Set Up Automatic Updates On Ubuntu 22.04 LTS Tutorials
Ubuntu 23.04 “Lunar Lobster” Release Date Schedule Ubuntu 23.04 “Lunar Lobster” Release Date Schedule Ubuntu

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • AI / Machine Learning Engineer

    • Stratford, CT
    • Lockheed Martin
    • Full Time
  • Technical Writer II (Contingent)

    • Port Hueneme, CA
    • Centurum, Inc.
    • Full Time
  • Nights & Weekends Blogger, The Cut

    • Remote
    • Vox Media
    • Full Time
  • Deviation Writer

    • Durham, NC
    • Process Alliance
    • Full Time
  • Azure Engineer

    • Fort Worth, TX
    • Jobot
    • Full Time
  • Distinguished Data Engineer

    • Petersburg, VA (Remote)
    • Capital One
    • Full Time
  • SQL Report Writer

    • Hammonton, NJ
    • TWO95 International
    • Full Time
  • Remote Blockchain Engineering Manager (San Francisco)

    • San Francisco, CA
    • Circle
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme