How To Install linux-image-aws on Ubuntu 20.04
Introduction
In this tutorial we learn how to install linux-image-aws
on Ubuntu 20.04.
What is linux-image-aws
linux-image-aws is:
This package will always depend on the latest kernel image available for Amazon Web Services (AWS) systems.
Package: linux-image-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 Provides: virtualbox-guest-modules (= 6.1.4-dfsg-2), zfs-modules (= 0.8.3-1ubuntu11) Depends: linux-image-5.4.0-1009-aws Filename: pool/main/l/linux-meta-aws/linux-image-aws_5.4.0.1009.11_amd64.deb Size: 2632 MD5sum: 59c4d16320d36f285a38e5986767e2ca SHA1: c86f4f46eccc96ee25a9a880a1c1045996231cd0 SHA256: da7ce37af1265f1a6b2e0a472bc791de79235714a6a27b8178b5cf94d1109652 Description-en: Linux kernel image for Amazon Web Services (AWS) systems. This package will always depend on the latest kernel image available for Amazon Web Services (AWS) systems.
There are three methods to install linux-image-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-image-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-image-aws
using apt-get
by running the following command:
sudo apt-get -y install linux-image-aws
Install linux-image-aws Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linux-image-aws
using apt
by running the following command:
sudo apt -y install linux-image-aws
Install linux-image-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-image-aws
using aptitude
by running the following command:
sudo aptitude -y install linux-image-aws
How To Uninstall linux-image-aws on Ubuntu 20.04
To uninstall only the linux-image-aws
package we can use the following command:
sudo apt-get remove linux-image-aws
Uninstall linux-image-aws And Its Dependencies
To uninstall linux-image-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-image-aws
Remove linux-image-aws Configurations and Data
To remove linux-image-aws
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge linux-image-aws
Remove linux-image-aws configuration, data, and all of its dependencies
We can use the following command to remove linux-image-aws
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linux-image-aws
References
Summary
In this tutorial we learn how to install linux-image-aws
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.