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

Last updated: November 23,2024

1. Install "linux-headers-4.15.0-162-generic" package

Please follow the instructions below to install linux-headers-4.15.0-162-generic on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-headers-4.15.0-162-generic

2. Uninstall "linux-headers-4.15.0-162-generic" package

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

$ sudo apt remove linux-headers-4.15.0-162-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-4.15.0-162-generic
Architecture: amd64
Version: 4.15.0-162.170
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13314
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-4.15.0-162, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-4.15.0-162-generic_4.15.0-162.170_amd64.deb
Size: 1260208
MD5sum: 884c5b0097eb5db4ca6b16e5332ff5d7
SHA1: 5ada3aed4a25f67c2f2b0a4a8bf4bc206ef1185b
SHA256: e27488a49e761127b277e8b15ccd59f00dcea4dc34dcf4488d80319d3c7e6df9
SHA512: 05647bfa7d261701792fb03a4a02afe3701b3607b0a5e4e6183cce7cd09d93d291a301803881f6d00ce095739c0d67b422be97aebc013939c6790b2ae434e5f8
Description: Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
Description-md5: 308e0ada8ca37bdd32f86538f926fb1d
Supported: 5y