How to Install and Uninstall linux-modules-5.4.0-40-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: October 09,2024

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

This guide covers the steps necessary to install linux-modules-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

In this section, we are going to explain the necessary steps to uninstall linux-modules-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the linux-modules-5.4.0-40-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44~18.04.1
Priority: optional
Section: kernel
Source: linux-hwe-5.4
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 69331
Filename: pool/main/l/linux-hwe-5.4/linux-modules-5.4.0-40-generic_5.4.0-40.44~18.04.1_amd64.deb
Size: 14448200
MD5sum: e1a199c3c441d386a81811c4818e6d22
SHA1: 83191f820bd8f625be538e4aa630c9dcdaed257c
SHA256: dc3bc65c882dcb6dbad5c3bb4a6960738fa977fd3ad3007b29594cbf41def619
SHA512: aabeca545baeb7295449c962872e1b9705df4668184d3991ea0aba58ad7bf1c62041092570af5f5d28ce1807b3a15a72200e5a10c36fc3726e32519d1941de43
Description: Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
Description-md5: 8a3037b605a1bf658fc9eef87f439114
Supported: 5y