How To Install amazon-linux-onprem.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install amazon-linux-onprem.noarch
on Amazon Linux 2.
What is amazon-linux-onprem.noarch
Meta package for Amazon Linux to prevent accidental installation of conflicting packages. This package should soley be used in onprem images.
We can use yum
to install amazon-linux-onprem.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install amazon-linux-onprem.noarch.
Install amazon-linux-onprem.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install amazon-linux-onprem.noarch
using yum
by running the following command:
sudo yum -y install amazon-linux-onprem.noarch
How To Uninstall amazon-linux-onprem.noarch on Amazon Linux 2
To uninstall only the amazon-linux-onprem.noarch
package we can use the following command:
sudo yum remove amazon-linux-onprem.noarch
amazon-linux-onprem.noarch Package Contents on Amazon Linux 2
References
Summary
In this tutorial we learn how to install amazon-linux-onprem.noarch
on Amazon Linux 2 using yum.