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

Last updated: November 24,2024

1. Install "linux-source" package

Here is a brief guide to show you how to install linux-source on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-source

2. Uninstall "linux-source" package

This guide covers the steps necessary to uninstall linux-source on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-source $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-source
Architecture: all
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-source-4.15.0
Filename: pool/main/l/linux-meta/linux-source_4.15.0.192.177_all.deb
Size: 2376
MD5sum: 068a29a0ce56358180366211479d313f
SHA1: 745b1277cacef514b5be76e2ec9b0ea31bf991dc
SHA256: 995c2e2f28d19b07e51d4ae103da2673f6613fb5429f78ad2d7848c5b72db04d
SHA512: a0b0c7d6e553e5c40f1896e0edb86e591937f43b43b0c16481d670d3ced152aa4e4f851675453f0401c4898ff56a8321dedc2ce5a75cb2bc74defa7aa1c46404
Description: Linux kernel source with Ubuntu patches
Description-md5: 1cac084d2ae18dfd06b96585b4be564d
Supported: 5y

Package: linux-source
Architecture: all
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-source-4.15.0
Breaks: flash-kernel (<< 3.90ubuntu2), s390-tools (<< 2.3.0-0ubuntu3)
Filename: pool/main/l/linux-meta/linux-source_4.15.0.20.23_all.deb
Size: 2640
MD5sum: 75f3fb0a382ba391570b49e150c4859f
SHA1: 2c91020ac47d66bdb5c1e112a421fbb64b16af5f
SHA256: 92ad50696bb78f9af1b9d57f24b1d0256c26437a979b8d1bc8f8f5ae6b367373
Description: Linux kernel source with Ubuntu patches
Description-md5: 1cac084d2ae18dfd06b96585b4be564d
Supported: 5y