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

Last updated: November 27,2024

1. Install "linux-headers-5.15.0-50-generic" package

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

$ sudo apt update $ sudo apt install linux-headers-5.15.0-50-generic

2. Uninstall "linux-headers-5.15.0-50-generic" package

Please follow the steps below to uninstall linux-headers-5.15.0-50-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-headers-5.15.0-50-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-5.15.0-50-generic
Architecture: amd64
Version: 5.15.0-50.56~20.04.1
Priority: optional
Section: devel
Source: linux-hwe-5.15
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25981
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.15-headers-5.15.0-50, libc6 (>= 2.22), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-hwe-5.15/linux-headers-5.15.0-50-generic_5.15.0-50.56~20.04.1_amd64.deb
Size: 2825800
MD5sum: 04296189030b5549ae7a398be63cd708
SHA1: d053da68a0c315eb818634274ec8008ea87bfee9
SHA256: de167ef9006cff01b352f6ab6e1ffcaf9552cee3c902489b1c764349e62723ee
SHA512: 82926a365b7ba3393ebd826dd5cd9826554780cc933f4779ac988b238937919adacd0b9c06055fd93f65d99cdd6a97d494f14c02f034aa763dcb6bb14c78fb5a
Description: Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
Description-md5: 010ff75a4e38e4be9d90593e9b8599da