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

Last updated: May 13,2024

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

Please follow the guidance below to install linux-modules-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the instructions below to uninstall linux-modules-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-5.4.0-31-generic
Architecture: amd64
Version: 5.4.0-31.35
Priority: optional
Section: kernel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 71272
Filename: pool/main/l/linux/linux-modules-5.4.0-31-generic_5.4.0-31.35_amd64.deb
Size: 14404292
MD5sum: d84005428e79f9339506ee3d165bd319
SHA1: c5e6346964018184677c560865af8980710bdd69
SHA256: 5faca2c701eb3289a7bba091a6f18363bbae37d9f06d039dea1367147b4f59d5
SHA512: fe6e748675c23e759ba55546858f1aa6270b7ffd6d98ee21d71406519d363395b7e21a2e0b586f8d1468dec54dcfe6a358bf144215589cddedd8ffb7f2a115bb
Description: Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
Description-md5: 8a3037b605a1bf658fc9eef87f439114