How To Install copr-selinux on Rocky Linux 8
Introduction
In this tutorial we learn how to install copr-selinux
on Rocky Linux 8.
What is copr-selinux
COPR is lightweight build system. It allows you to create new project in WebUI, and submit new builds and COPR will create yum repository from latest builds. This package include SELinux targeted module for COPR
We can use yum
or dnf
to install copr-selinux
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install copr-selinux.
Install copr-selinux on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install copr-selinux
using dnf
by running the following command:
sudo dnf -y install copr-selinux
Install copr-selinux on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install copr-selinux
using yum
by running the following command:
sudo yum -y install copr-selinux
How To Uninstall copr-selinux on Rocky Linux 8
To uninstall only the copr-selinux
package we can use the following command:
sudo dnf remove copr-selinux
copr-selinux Package Contents on Rocky Linux 8
/usr/sbin/copr-selinux-enable
/usr/sbin/copr-selinux-relabel
/usr/share/licenses/copr-selinux
/usr/share/licenses/copr-selinux/LICENSE
/usr/share/man/man8/copr-selinux-enable.8.gz
/usr/share/man/man8/copr-selinux-relabel.8.gz
/usr/share/selinux/targeted/copr.pp.bz2
References
Summary
In this tutorial we learn how to install copr-selinux
on Rocky Linux 8 using yum and dnf.