• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How to Install and Update Kernel via Ubuntu Command Line

How to Install and Update Kernel via Ubuntu Command Line

By Sourabh / December 7, 2025 Category: How To, Ubuntu

Ubuntu users can upgrade Kernel to specific version or they can update Kernel via Ubuntu command line (terminal).

Linux 6.18 Changelog

Linux 6.18 includes support for PSP encryption of TCP connections, a new encryption scheme that shares some similarities with IPsec and TLS but offers superior HW offloads capabilities; it also improves kernel slab memory allocation performance; better swapping performance; significant UDP received performance and scalability improvements; a device mapper target for persistent cache; support managing process Namespaces as file handles similarly to pidfds; support for Accurate Explicit Congestion Notification in TCP; and BPF signed programs. As always, there are many other features, new drivers, improvements and fixes.

Prominent Features

  • Improved kernel memory allocation performance with slub sheaves
  • A device mapper target for persistent cache
  • Process Namespaces as file handles
  • Support for Accurate Explicit Congestion Notification in TCP
  • Add support for PSP encryption of TCP connections
  • Better swapping performance
  • UDP receive performance improvements
  • BPF signed programs
  • More scalable NFS servers by removing caching
  • Introduction of memdesc_flags_t, for a future leaner struct page

Source https://kernelnewbies.org/Linux_6.18

Install Kernel 6.18 in Ubuntu

Before you begin to install kernel in Ubuntu terminal you must update your Ubuntu Linux system. You can run the following commands:

sudo apt update && sudo apt dist-upgrade -

NOTE:

  1. If you are not sure about your CPU architecture type (system architecture), open terminal (Ctrl+Alt+T) and the command uname -m or dpkg –print-architecture, it will then show you your system architecture.
  2. You will have to download AMD64 for most current computers and ARM 64 for ARMv8 CPUs systems.

For example, for For 64-bit architecture, you should download these files:

  • linux-headers-VERSION-NUMBER_all.deb
  • linux-headers-VERSION-NUMBER_amd64.deb
  • linux-image-VERSION-NUMBER_amd64.deb
  • linux-modules-VERSION-NUMBER_amd64.deb

The files can be found at: https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.18/

Once downloaded, run the following set of commands to install the Kernel:

cd /tmp
wget -c https://kernel.ubuntu.com/mainline/v6.18/amd64/linux-headers-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.18/amd64/linux-headers-6.18.0-061800_6.18.0-061800.202511302339_all.deb
wget -c https://kernel.ubuntu.com/mainline/v6.18/amd64/linux-image-unsigned-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb
wget -c https://kernel.ubuntu.com/mainline/v6.18/amd64/linux-modules-6.18.0-061800-generic_6.18.0-061800.202511302339_amd64.deb
sudo apt install ./linux-6.18.0.deb

Alternatively you can also use the command sudo dpkg -i *.deb for installing Kernel.

Don’t forget to restart the computer after the installation is complete. To verify your Kernel verison, you can run uname -a command in terminal.

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap