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

Last updated: December 26,2024

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

This tutorial shows how to install linux-headers-4.15.0-158-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This is a short guide on how to uninstall linux-headers-4.15.0-158-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-headers-4.15.0-158-generic
Architecture: amd64
Version: 4.15.0-158.166
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13300
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-4.15.0-158, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-4.15.0-158-generic_4.15.0-158.166_amd64.deb
Size: 1258452
MD5sum: 46cb0f6243df8343eeb6adfbdaabc957
SHA1: 0b59b7c758b4163f1e9d1dbb5f727a374eea824f
SHA256: 9879ff06a812e4bbb57eb6b1d1261e1ebad45b8dafe6b9787f3412e8ffcff143
SHA512: 7e93f8038586ab17a52f2b15f5928891c8a85db2d0ef5a39ea0762fb80fdddfc3ab131a078fc83827f508417bf61c2da66fe9afdb177bcae6c60d1682bf579ae
Description: Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
Description-md5: c15d1a0da628eac8de3cdaf43ad7573c
Supported: 5y