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

Last updated: November 07,2024

1. Install "linux-generic" package

Here is a brief guide to show you how to install linux-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-generic

2. Uninstall "linux-generic" package

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

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

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

Package: linux-generic
Architecture: amd64
Version: 5.4.0.170.168
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Provides: kernel-testing--linux--full--generic, kernel-testing--linux--full--preferred
Depends: linux-image-generic (= 5.4.0.170.168), linux-headers-generic (= 5.4.0.170.168)
Filename: pool/main/l/linux-meta/linux-generic_5.4.0.170.168_amd64.deb
Size: 1900
MD5sum: 554c79e15a6fa5821ffebb402f0a19d5
SHA1: 4dd20dfb0a43def474b5b066b6ba5b5ff2e90fd5
SHA256: 2b33bf08a149081193692f2c64a2645a1e05c5c29f5ea0826e7cfd3e27ef6273
SHA512: 1f19db05f7b30629fcbb6e3556884c498c3ca042ab000ce16d2c0eeacd8368493acc4255c46d5abbb396097bac2b5f8d6cf4927caf75c54e38a0e873f97540b1
Description: Complete Generic Linux kernel and headers
Description-md5: 000d0a6187a93215f75bba542cc6df27

Package: linux-generic
Architecture: amd64
Version: 5.4.0.26.32
Priority: optional
Section: kernel
Source: linux-meta
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Provides: kernel-testing--linux--full--generic, kernel-testing--linux--full--preferred
Depends: linux-image-generic (= 5.4.0.26.32), linux-headers-generic (= 5.4.0.26.32)
Filename: pool/main/l/linux-meta/linux-generic_5.4.0.26.32_amd64.deb
Size: 1900
MD5sum: af171780261b9e09d5a29f5c9a16b18f
SHA1: 0b6f3e004ae6217bfc731e3b263a6cb44089b99a
SHA256: f257d939d4e9ad2be518bd7748de3a2f9a139f7901c9ad717456c139dc01ea43
Description: Complete Generic Linux kernel and headers
Description-md5: 000d0a6187a93215f75bba542cc6df27