How To Install mozilla-requestpolicy on CentOS 7
Introduction
In this tutorial we learn how to install mozilla-requestpolicy on CentOS 7.
What is mozilla-requestpolicy
RequestPolicy is a Firefox extension that gives you control over cross-site requests. It does this through user-defined white-lists and blacklists. Users can also subscribe to policies (white-lists and blacklists) maintained by others.
We can use yum or dnf to install mozilla-requestpolicy on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mozilla-requestpolicy.
Install mozilla-requestpolicy on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install mozilla-requestpolicy using yum by running the following command:
sudo yum -y install mozilla-requestpolicy
Install mozilla-requestpolicy on CentOS 7 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 mozilla-requestpolicy using dnf by running the following command:
sudo dnf -y install mozilla-requestpolicy
How To Uninstall mozilla-requestpolicy on CentOS 7
To uninstall only the mozilla-requestpolicy package we can use the following command:
sudo dnf remove mozilla-requestpolicy
References
Summary
In this tutorial we learn how to install mozilla-requestpolicy on CentOS 7 using yum and dnf.