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

Last updated: December 29,2024

1. Install "linux-headers-5.15.0-1042-gcp" package

This guide covers the steps necessary to install linux-headers-5.15.0-1042-gcp on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-headers-5.15.0-1042-gcp

2. Uninstall "linux-headers-5.15.0-1042-gcp" package

This guide covers the steps necessary to uninstall linux-headers-5.15.0-1042-gcp on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-headers-5.15.0-1042-gcp $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-5.15.0-1042-gcp
Architecture: amd64
Version: 5.15.0-1042.50~20.04.1
Priority: optional
Section: devel
Source: linux-gcp-5.15
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26382
Provides: linux-headers, linux-headers-3.0
Depends: linux-gcp-5.15-headers-5.15.0-1042, libc6 (>= 2.22), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-gcp-5.15/linux-headers-5.15.0-1042-gcp_5.15.0-1042.50~20.04.1_amd64.deb
Size: 2750864
MD5sum: f2c68615c3399d5a2832989b0b0ee39a
SHA1: a62f6eaea549a878c6e660616424e040237948ae
SHA256: f367cfef8a9d9d4c1a83fa1c3cb9a2f8afc2b666896684a6f7e9a2e31032a4b1
SHA512: 7d8e1da4b73ab7ecc20b3bba1d3327e3dba410a317944efc896c29fca75a1b8ab4cc5f6a34b5ad1dd4f38f8e509b3a3d4585597212e2443cbbc636b840e5b53a
Description: Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
Description-md5: bcb3fb61534ea732701d890d22c1dc68