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

Last updated: November 30,2024

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

This guide covers the steps necessary to install linux-headers-4.18.0-18-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the step by step instructions below to uninstall linux-headers-4.18.0-18-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-headers-4.18.0-18-generic
Architecture: amd64
Version: 4.18.0-18.19~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: 12349
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-4.18.0-18, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe/linux-headers-4.18.0-18-generic_4.18.0-18.19~18.04.1_amd64.deb
Size: 1125832
MD5sum: 24dc8c4054dfdab6e657e3265b840721
SHA1: eccd61a78a157a540eec3f69f6288bdeacf458d7
SHA256: 120cdf0f3bab15900d19ce61715833065e83402fd4426daff5c99d5c1b61a850
SHA512: 004c1fc5d1fcdb5a3d5fe09a7fe9ef665889871b3e1844b313df2434985e39fb993b3e5a861739fabde90ffe663785eee3902c9c31bcd557fb7d9c2f3d74c400
Description: Linux kernel headers for version 4.18.0 on 64 bit x86 SMP
Description-md5: 1e65ce5e9704c6336f50158696a72a74
Supported: 5y