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

Last updated: November 29,2024

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

This is a short guide on how to install linux-headers-4.18.0-21-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

In this section, we are going to explain the necessary steps to uninstall linux-headers-4.18.0-21-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-headers-4.18.0-21-generic
Architecture: amd64
Version: 4.18.0-21.22~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: 12354
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-4.18.0-21, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe/linux-headers-4.18.0-21-generic_4.18.0-21.22~18.04.1_amd64.deb
Size: 1088712
MD5sum: da2af1bd3d8b5372d7991bfe9a165590
SHA1: 1dff8782e26ad84519a3719220bd14417796ef0f
SHA256: 3a0286d6c8bd1cf8aa71442a47fb5b59f63c790365b53a789afcb2a12d9af053
SHA512: b857b3e145bfe606fe4de7cfb4e3657257d9d0cb123871f08cfd5fe33c9d941181391fae973feb866e747c9c6d369213026afc8efee50c5f3c9afc55b95e01de
Description: Linux kernel headers for version 4.18.0 on 64 bit x86 SMP
Description-md5: db09d06d500f09ecef32a60f6032c48d
Supported: 5y