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

Last updated: May 18,2024

1. Install "linux-headers-virtual" package

Please follow the guidance below to install linux-headers-virtual on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-headers-virtual

2. Uninstall "linux-headers-virtual" package

Please follow the instructions below to uninstall linux-headers-virtual on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-headers-virtual $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-virtual
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-generic (= 4.15.0.192.177)
Filename: pool/main/l/linux-meta/linux-headers-virtual_4.15.0.192.177_amd64.deb
Size: 1844
MD5sum: 3ac8f34c922738ab129520f2ae5d77a0
SHA1: a9cd44ef4a3e1b8b7600cc36a8bb6cb5844d6aff
SHA256: d2f8232965cc0bc26df38b69151d7685b4ba93492cc7ba525ae3c25ac422076c
SHA512: 1fa6b474d8d185ab20b3ec06ceeda18e0d6d79f188b0c7cea52328a84136362258bbb2d9e9fd2dc879282c7d326577a0b330c09c96e889ee9568e01688912695
Description: Virtual Linux kernel headers
Description-md5: 8b6e69f9b77aba672a89fe0ef9041d27
Supported: 5y

Package: linux-headers-virtual
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-generic (= 4.15.0.20.23)
Breaks: flash-kernel (<< 3.90ubuntu2), s390-tools (<< 2.3.0-0ubuntu3)
Filename: pool/main/l/linux-meta/linux-headers-virtual_4.15.0.20.23_amd64.deb
Size: 1888
MD5sum: fe298cb90085448d3a845ac0ee844e14
SHA1: f2475c35d313900dfbb32fd7442dbd97db86b6ed
SHA256: ace3df59fb7e46f8ea74b94774626ed03bc0dade95f4d5d9c466eda8cebc6c36
Description: Virtual Linux kernel headers
Description-md5: 8b6e69f9b77aba672a89fe0ef9041d27
Supported: 5y