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

Last updated: May 18,2024

1. Install "linux-headers-gcp" package

Please follow the step by step instructions below to install linux-headers-gcp on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "linux-headers-gcp" package

In this section, we are going to explain the necessary steps to uninstall linux-headers-gcp on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-headers-gcp
Architecture: amd64
Version: 5.15.0.1049.57~20.04.1
Priority: optional
Section: kernel
Source: linux-meta-gcp-5.15
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: linux-headers-5.15.0-1049-gcp
Filename: pool/main/l/linux-meta-gcp-5.15/linux-headers-gcp_5.15.0.1049.57~20.04.1_amd64.deb
Size: 2528
MD5sum: 2bb43cb83a2b3eb5f1fc5bc14637ed9f
SHA1: f408aace67ba004c319f5b59a7c8d8def30a57b9
SHA256: 9a3e3a89e8d6e8c86f91eeb9c0e326382be79ff9e9ff90e84763fab1f324ce37
SHA512: 391f4e494a2f190db1d26204f574c2fe895f1294b30fd5c8ac11109231f5aa14344d5fadb9a6fac0714e8b68f52c2577e8ca57f2d4a451cca6c37849fd3d5d08
Description: Google Cloud Platform (GCP) Linux kernel headers
Description-md5: 14ce9b53a9d24ad1be99da16f32ced5d

Package: linux-headers-gcp
Architecture: amd64
Version: 5.4.0.1009.9
Priority: optional
Section: kernel
Source: linux-meta-gcp
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: linux-headers-5.4.0-1009-gcp
Filename: pool/main/l/linux-meta-gcp/linux-headers-gcp_5.4.0.1009.9_amd64.deb
Size: 2684
MD5sum: aabbd58fcce2714d283dd208f29a9709
SHA1: 2a5b0686dbab2cd98d43cb0c99161b6fe325b0ff
SHA256: 39e2e3ab4da73c49fc10681813a65c64effb430c23bdf87eb7e4047253d1220b
Description: Google Cloud Platform (GCP) Linux kernel headers
Description-md5: 14ce9b53a9d24ad1be99da16f32ced5d