How To Install fortunes-it-off on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fortunes-it-off on Ubuntu 20.04.
What is fortunes-it-off
fortunes-it-off is:
This package contains a set of ‘fortune cookies’ in Italian, separated from the fortunes-it package since someone may consider they to be offensive.
Please do not install this package if you or your users are easily offended.
There are three methods to install fortunes-it-off on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fortunes-it-off Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fortunes-it-off using apt-get by running the following command:
sudo apt-get -y install fortunes-it-off
Install fortunes-it-off Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fortunes-it-off using apt by running the following command:
sudo apt -y install fortunes-it-off
Install fortunes-it-off 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install fortunes-it-off using aptitude by running the following command:
sudo aptitude -y install fortunes-it-off
How To Uninstall fortunes-it-off on Ubuntu 20.04
To uninstall only the fortunes-it-off package we can use the following command:
sudo apt-get remove fortunes-it-off
Uninstall fortunes-it-off And Its Dependencies
To uninstall fortunes-it-off and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove fortunes-it-off
Remove fortunes-it-off Configurations and Data
To remove fortunes-it-off configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge fortunes-it-off
Remove fortunes-it-off configuration, data, and all of its dependencies
We can use the following command to remove fortunes-it-off configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fortunes-it-off
References
Summary
In this tutorial we learn how to install fortunes-it-off package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.