How To Install oscap-anaconda-addon on CentOS 8
Introduction
In this tutorial we learn how to install oscap-anaconda-addon on CentOS 8.
What is oscap-anaconda-addon
This is an addon that integrates OpenSCAP utilities with the Anaconda installer and allows installation of systems following restrictions given by a SCAP content.
We can use yum or dnf to install oscap-anaconda-addon on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install oscap-anaconda-addon.
Install oscap-anaconda-addon on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install oscap-anaconda-addon using yum by running the following command:
sudo yum -y install oscap-anaconda-addon
Install oscap-anaconda-addon on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install oscap-anaconda-addon using dnf by running the following command:
sudo dnf -y install oscap-anaconda-addon
How To Uninstall oscap-anaconda-addon on CentOS 8
To uninstall only the oscap-anaconda-addon package we can use the following command:
sudo dnf remove oscap-anaconda-addon
References
Summary
In this tutorial we learn how to install oscap-anaconda-addon on CentOS 8 using yum and dnf.