How to Install and Uninstall linux-source Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 24,2024

1. Install "linux-source" package

This guide let you learn how to install linux-source on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-source

2. Uninstall "linux-source" package

This is a short guide on how to uninstall linux-source on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the linux-source package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-source
Architecture: all
Version: 5.4.0.170.168
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: linux-source-5.4.0
Filename: pool/main/l/linux-meta/linux-source_5.4.0.170.168_all.deb
Size: 2408
MD5sum: 8b8267534547379ea07e78831530e704
SHA1: dd24117615897453271b39d2384f5af6770d7fbe
SHA256: 622258ef53e2095f15ef56aed3c6ca65a030bdddb45e9ef2d1cf459985657bf5
SHA512: 9e481690ca3c89c5a34ee1f5abfd379e17e5564af6d30d9a51adc2d0c30a4bb3fef7fe5c06d5ee95abd370c7460a83684c7fb97117b04b3e8cb029bb8e15392b
Description: Linux kernel source with Ubuntu patches
Description-md5: 1cac084d2ae18dfd06b96585b4be564d

Package: linux-source
Architecture: all
Version: 5.4.0.26.32
Priority: optional
Section: devel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: linux-source-5.4.0
Filename: pool/main/l/linux-meta/linux-source_5.4.0.26.32_all.deb
Size: 2688
MD5sum: 91cdd3ac7950db6e2254b96efe0f74d7
SHA1: e445a5db08040a520e7c37b0e7f6fb7208d3d183
SHA256: d338cd4bc4df92be99055e55a6d856e843f37b2bcc75778e3c7ab0fcfeb5f0f1
Description: Linux kernel source with Ubuntu patches
Description-md5: 1cac084d2ae18dfd06b96585b4be564d