How To Install ruby-public-suffix on Debian 10
Introduction
In this tutorial we learn how to install ruby-public-suffix
on Debian 10.
What is ruby-public-suffix
ruby-public-suffix is:
PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
The Public Suffix List is a catalog of certain Internet domain names. The term is also known by the form effective top-level domain (eTLD). This list is used for the security and privacy policies of web application.
There are three methods to install ruby-public-suffix
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ruby-public-suffix Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-public-suffix
using apt-get
by running the following command:
sudo apt-get -y install ruby-public-suffix
Install ruby-public-suffix Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-public-suffix
using apt
by running the following command:
sudo apt -y install ruby-public-suffix
Install ruby-public-suffix Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ruby-public-suffix
using aptitude
by running the following command:
sudo aptitude -y install ruby-public-suffix
How To Uninstall ruby-public-suffix on Debian 10
To uninstall only the ruby-public-suffix
package we can use the following command:
sudo apt-get remove ruby-public-suffix
Uninstall ruby-public-suffix And Its Dependencies
To uninstall ruby-public-suffix
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove ruby-public-suffix
Remove ruby-public-suffix Configurations and Data
To remove ruby-public-suffix
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge ruby-public-suffix
Remove ruby-public-suffix configuration, data, and all of its dependencies
We can use the following command to remove ruby-public-suffix
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-public-suffix
Dependencies
ruby-public-suffix have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-public-suffix
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.