How to Install and Uninstall linux-headers-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: January 23,2025
1. Install "linux-headers-generic" package
This tutorial shows how to install linux-headers-generic on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
linux-headers-generic
Copied
2. Uninstall "linux-headers-generic" package
This guide covers the steps necessary to uninstall linux-headers-generic on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
linux-headers-generic
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the linux-headers-generic package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: linux-headers-generic
Architecture: amd64
Version: 4.15.0.192.177
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: linux-headers-4.15.0-192-generic
Filename: pool/main/l/linux-meta/linux-headers-generic_4.15.0.192.177_amd64.deb
Size: 2364
MD5sum: b3a70d3bf11a6d6cb48486b6d9015e82
SHA1: 488dc770f7698da18aa04259fd7592ea9798472c
SHA256: c47a6d835f2fef4f9093c1c808ad1acbfb1e5680151b68117a71974234240508
SHA512: 1e5b2558484f18e336321f331cdf0b558ef1b86ed7595fed06fd444723a748ea8d74c3b22a53260da99fac76b70256db9f9aa9b60563e11ca56b7daad7a00646
Description: Generic Linux kernel headers
Description-md5: 9c9742ab9c289b1e900fab477bc0070d
Supported: 5y
Package: linux-headers-generic
Architecture: amd64
Version: 4.15.0.20.23
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: linux-headers-4.15.0-20-generic
Breaks: flash-kernel (<< 3.90ubuntu2), s390-tools (<< 2.3.0-0ubuntu3)
Filename: pool/main/l/linux-meta/linux-headers-generic_4.15.0.20.23_amd64.deb
Size: 2636
MD5sum: d5d0d167ffbe2baaba688767a54c11cf
SHA1: b816c57494c67af224760dd8ff710ef852ad35f9
SHA256: f7dc23ea8694ced139f16e1dea9de8898c4b4b5fb7b4cd2b20be75c9dd44c238
Description: Generic Linux kernel headers
Description-md5: 9c9742ab9c289b1e900fab477bc0070d
Supported: 5y
Architecture: amd64
Version: 4.15.0.192.177
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: linux-headers-4.15.0-192-generic
Filename: pool/main/l/linux-meta/linux-headers-generic_4.15.0.192.177_amd64.deb
Size: 2364
MD5sum: b3a70d3bf11a6d6cb48486b6d9015e82
SHA1: 488dc770f7698da18aa04259fd7592ea9798472c
SHA256: c47a6d835f2fef4f9093c1c808ad1acbfb1e5680151b68117a71974234240508
SHA512: 1e5b2558484f18e336321f331cdf0b558ef1b86ed7595fed06fd444723a748ea8d74c3b22a53260da99fac76b70256db9f9aa9b60563e11ca56b7daad7a00646
Description: Generic Linux kernel headers
Description-md5: 9c9742ab9c289b1e900fab477bc0070d
Supported: 5y
Package: linux-headers-generic
Architecture: amd64
Version: 4.15.0.20.23
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: linux-headers-4.15.0-20-generic
Breaks: flash-kernel (<< 3.90ubuntu2), s390-tools (<< 2.3.0-0ubuntu3)
Filename: pool/main/l/linux-meta/linux-headers-generic_4.15.0.20.23_amd64.deb
Size: 2636
MD5sum: d5d0d167ffbe2baaba688767a54c11cf
SHA1: b816c57494c67af224760dd8ff710ef852ad35f9
SHA256: f7dc23ea8694ced139f16e1dea9de8898c4b4b5fb7b4cd2b20be75c9dd44c238
Description: Generic Linux kernel headers
Description-md5: 9c9742ab9c289b1e900fab477bc0070d
Supported: 5y