How To Install publicsuffix-list on CentOS 7
Introduction
In this tutorial we learn how to install publicsuffix-list
on CentOS 7.
What is publicsuffix-list
The Public Suffix List is a cross-vendor initiative to provide an accurate list of domain name suffixes, maintained by the hard work of Mozilla volunteers and by submissions from registries. Software using the Public Suffix List will be able to determine where cookies may and may not be set, protecting the user from being tracked across sites.
We can use yum
or dnf
to install publicsuffix-list
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install publicsuffix-list.
Install publicsuffix-list on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install publicsuffix-list
using yum
by running the following command:
Install publicsuffix-list 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.
After updating yum database, We can install publicsuffix-list
using dnf
by running the following command:
How To Uninstall publicsuffix-list on CentOS 7
To uninstall only the publicsuffix-list
package we can use the following command:
References
Summary
In this tutorial we learn how to install publicsuffix-list
on CentOS 7 using yum
and dnf
.