How To Install linux-headers-aws on Ubuntu 20.04
Introduction
In this tutorial we learn how to install linux-headers-aws
on Ubuntu 20.04.
What is linux-headers-aws
linux-headers-aws is:
This package will always depend on the latest kernel headers available for Amazon Web Services (AWS) systems.
Package: linux-headers-aws Architecture: amd64 Version: 5.4.0.1009.11 Priority: optional Section: kernel Source: linux-meta-aws Origin: Ubuntu Maintainer: Ubuntu Kernel Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 11 Depends: linux-headers-5.4.0-1009-aws Filename: pool/main/l/linux-meta-aws/linux-headers-aws_5.4.0.1009.11_amd64.deb Size: 2592 MD5sum: e1dddbea04488595669b5382bcb32192 SHA1: 3a599ef9f5a72c4968967ef61519813fdf152b01 SHA256: b9ae465734d25d60731b01b5fa1a9ca928ce4fec4b6d16b29cdd7ed2ece2bb30 Description-en: Linux kernel headers for Amazon Web Services (AWS) systems. This package will always depend on the latest kernel headers available for Amazon Web Services (AWS) systems.
There are three methods to install linux-headers-aws
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install linux-headers-aws Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install linux-headers-aws
using apt-get
by running the following command:
sudo apt-get -y install linux-headers-aws
Install linux-headers-aws Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linux-headers-aws
using apt
by running the following command:
sudo apt -y install linux-headers-aws
Install linux-headers-aws Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install linux-headers-aws
using aptitude
by running the following command:
sudo aptitude -y install linux-headers-aws
How To Uninstall linux-headers-aws on Ubuntu 20.04
To uninstall only the linux-headers-aws
package we can use the following command:
sudo apt-get remove linux-headers-aws
Uninstall linux-headers-aws And Its Dependencies
To uninstall linux-headers-aws
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove linux-headers-aws
Remove linux-headers-aws Configurations and Data
To remove linux-headers-aws
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge linux-headers-aws
Remove linux-headers-aws configuration, data, and all of its dependencies
We can use the following command to remove linux-headers-aws
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linux-headers-aws
References
Summary
In this tutorial we learn how to install linux-headers-aws
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.