How to Install and Uninstall linux-headers-4.18.0-22-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 29,2024

1. Install "linux-headers-4.18.0-22-generic" package

Here is a brief guide to show you how to install linux-headers-4.18.0-22-generic on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-headers-4.18.0-22-generic

2. Uninstall "linux-headers-4.18.0-22-generic" package

Please follow the guidance below to uninstall linux-headers-4.18.0-22-generic on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-headers-4.18.0-22-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-headers-4.18.0-22-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-headers-4.18.0-22-generic
Architecture: amd64
Version: 4.18.0-22.23~18.04.1
Priority: optional
Section: devel
Source: linux-hwe
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12355
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-4.18.0-22, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe/linux-headers-4.18.0-22-generic_4.18.0-22.23~18.04.1_amd64.deb
Size: 1089344
MD5sum: 250feb7453bd8d34b4a66726ee16050c
SHA1: 211d959dd8a709b2bb0fb5c706766e3b89adc396
SHA256: 2d1bc10cc2a27a20f7b81c01b625d7884284bc708bde62559e2a915e8d86bead
SHA512: 1e33fcbc6bf17feb1896ae00f19f8ba1fbe1b567052d3bd30e7ac04ed13a31283d706f348975c53de85fd6131b38b3ff4fa068112fd7eb7aaa1ce4bcc6de8592
Description: Linux kernel headers for version 4.18.0 on 64 bit x86 SMP
Description-md5: 628b3cb69249a50b2c07e58d61d1d9fc
Supported: 5y