How To Install copr-selinux on AlmaLinux 8

In this tutorial we learn how to install copr-selinux in AlmaLinux 8. copr-selinux is SELinux module for COPR

Introduction

In this tutorial we learn how to install copr-selinux on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

To uninstall only the copr-selinux package we can use the following command:

sudo dnf remove copr-selinux

References

Summary

In this tutorial we learn how to install copr-selinux on AlmaLinux 8 using yum and dnf.