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
How To Upgrade Linux Kernel

How To Upgrade Linux Kernel : Linux Kernel 5.14 LTS Released

Posted on June 5, 2020September 3, 2021 By admin No Comments on How To Upgrade Linux Kernel : Linux Kernel 5.14 LTS Released

Linux Kernel 5.10 LTS has arrived and it’s been a few days since it has been available for the public. It is the latest mainline release of the Linux Kernel. You can read the announcement by the boss Linus Torvalds in an email to the Linux Kernel Mailing List (LKML).

Linux Kernel 5.10 LTS Released: How To Upgrade Linux Kernel

Well, Don’t try to update or upgrade the Linux kernel if you are not sure what you are going to do. Sometimes it might crash your systems.

How To Upgrade Linux Kernel In Ubuntu 20.04 LTS

Note: Please make sure that you have a backup of your important file before upgrading the Linux kernel.

Method 1:

Use UkTools to upgrade Linux Kernel in Ubuntu 20.04 LTS. Run the following  command to download and install UkTools in Ubuntu:

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

Run the following command to upgrade Kernel:

do-kernel-upgrade

Run the following command to remove old and unused kernels in Ubuntu :

do-kernel-purge

Method 2:

We will use Linux Kernel Utilities to upgrade the Linux kernel. Linux Kernel Utilities is a set of BASH shell scripts that can be used to update Linux kernels. There are 3 scripts in this shell scripts:

  • compile_linux_kernel.sh
  • update_ubuntu_kernel.sh
  • remove_old_kernels.sh

Compile_linux_kernel.sh:-  To compile and install the latest Linux Kernel from the source.

READ More Relevant Stuff:  Raspberry Pi OS (64-bit) Now Available

update_ubuntu_kernel.sh:- To download and install/update the already compiled Ubuntu Kernel.

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

Run the following commands to install Linux Kernel utilities in Ubuntu 20.04 LTS:

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. Follow the on-screen instruction and select the latest kernel.

./compile_linux_kernel.sh

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

To compile a kernel from a local archive file

./compile_linux_kernel.sh --archive=linux-x.x.x.tar.xz

It will list out 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 download and install the latest a precompiled Ubuntu kernel from kernel.ubuntu.com, Run the following command:

./update_ubuntu_kernel.sh --latest

Now, Run the following command to remove old kernels.

./remove_old_kernels.sh

How To Upgrade Linux Kernel In CentOS 8

If you are using CentOS on the home or production server, then we won’t recommend upgrading the kernel unless to try it for testing.

You need to add the GPG key for the repository to make the installation secure in CentOS 8.

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

You need to add an external repository named ‘elrepo’ on CentOS 8.

dnf install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm

Now, run the following command to install the new Linux Kernel in CentOS 8.

dnf --enablerepo=elrepo-kernel install kernel-ml

After completing the installation, you need to reboot your system to view the changes. Run the following command to see the version of Linux Kernel.

uname -msr

How To Upgrade Linux Kernel In RHEL 8

Updating kernel with yum in RedHat Linux 8.

READ More Relevant Stuff:  Slimbook Executive Linux Ultrabooks Specifications [12th generation Intel Alder Lake CPU]

It is pretty simple to upgrade the Linux kernel in RHEL 8 with the yum command.

yum update kernel

To install a specific version of Linux Kernel in RHEL 8, run the following yum command. For a list of available kernels, refer to Red Hat Code Browser.

yum install kernel -{version}
Linux, Tutorials, Ubuntu 20.04 Tags:linux kernel, Upgrade Linux Kernel

Post navigation

Previous Post: Install GNU Compiler Collection (GCC) On Ubuntu 20.04 LTS
Next Post: Linux Mint 20 Dropped Ubuntu’s Snap

Related Posts

How To Fix "package dependencies cannot be resolved" Error In Ubuntu 22.04 LTS How To Fix “package dependencies cannot be resolved” Error In Ubuntu 22.04 LTS Tutorials
How To Run Windows Software On Linux With Bottles How To Run Windows Software On Linux With Bottles Linux
How To Create A Bootable Ubuntu 22.04 LTS USB Drive Tutorials
How To Upgrade To Linux Mint 20.2 | Easy Method How To Upgrade To Linux Mint 20.2 | Easy Method Linux
How To Upgrade To RHEL 8 From RHEL 7 How To Upgrade To RHEL 8 From RHEL 7 Linux
Fix Incorrect Time In Windows 11 And Ubuntu Dual Boot Fix Incorrect Time In Windows 11 And Ubuntu 22.04 LTS Dual Boot Ubuntu

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 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
  • Linux Wget Examples September 27, 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]
  • Produce Order Writer (Buyer / Inventory Replenishment) – Full Time

    • Basalt, CO
    • Whole Foods Market
    • Full Time
  • Technical Writer

    • Madison, WI
    • Manpower
    • Full Time
  • Technical Writer

    • Oak Ridge, TN
    • Morson Talent (Canada & USA)
    • Full Time
  • Sr. Technical/Copy Editor

    • Remote
    • General Dynamics Information Technology
    • Full Time
  • Senior Technical Writer

    • Austin, TX
    • TPI Global Solutions
    • Full Time
  • Senior Technical Writer

    • Austin, TX
    • American Unit, Inc
    • Full Time
  • Data Scientist – Power BI & Dataiku Expert (Pharmaceutical Industry)

    • York, PA (Remote)
    • ALTEN
    • Full Time
  • Grant Writer ***on-site***

    • Trenton, NJ
    • Deborah Heart and Lung Center
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme