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

Last updated: November 15,2024

1. Install "linux-headers-5.4.0-31-generic" package

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

$ sudo apt update $ sudo apt install linux-headers-5.4.0-31-generic

2. Uninstall "linux-headers-5.4.0-31-generic" package

This tutorial shows how to uninstall linux-headers-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-headers-5.4.0-31-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-5.4.0-31-generic
Architecture: amd64
Version: 5.4.0-31.35
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13986
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-31, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-31-generic_5.4.0-31.35_amd64.deb
Size: 1212980
MD5sum: 8271e0a302d5b3f3267a5699498c6e4f
SHA1: f31cbe5fe21f8ca287a1da811aaafbf0a58be333
SHA256: 821a39c57424a43c3d3cd6b3ef3ccabc097eba0e9b8b74aceb65f535812939be
SHA512: d9e85b1edcaea0789333024926fb136e664d857a37913b6c0b2f7104e35fa5f2c5aac0bb421c58c3bf56b7e4f7cd122dbce8813406a4386e40ad3ac5b9379737
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 600c5eda5e90bef0e89b096b4813436b