How to easily update Ubunto 22.04 Kernel Print

  • 0

Installing the latest kernel.

The title says that you want to install the latest kernel, you can use an automated script to install the latest kernel:

  1. Install the shell script which automatically checks and install the latest kernel:

    wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
    sudo install ubuntu-mainline-kernel.sh /usr/local/bin/
    
  2. Run the shell script:

    sudo ubuntu-mainline-kernel.sh -c     
    
  3. Install the latest stable kernel:

    sudo ubuntu-mainline-kernel.sh -i
    
  4. Press Y to accept the installation.

  5. Reboot to boot into the latest kernel:

    sudo reboot      
    

for the future, if you'd like to recheck and reinstall the latest stable kernel, you can simply run:

sudo ubuntu-mainline-kernel.sh -i

Was this answer helpful?

« Back