How To Install fortunes-debian-hints on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fortunes-debian-hints
on Ubuntu 20.04.
What is fortunes-debian-hints
fortunes-debian-hints is:
This package provides a set of hints and tips on using Debian, in a fortune database format. New Debian users (or administrators) may find its advice particularly sage or helpful, and even veteran Debianites might find some new tidbits.
There are three methods to install fortunes-debian-hints
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-debian-hints 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-debian-hints
using apt-get
by running the following command:
sudo apt-get -y install fortunes-debian-hints
Install fortunes-debian-hints Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fortunes-debian-hints
using apt
by running the following command:
sudo apt -y install fortunes-debian-hints
Install fortunes-debian-hints 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-debian-hints
using aptitude
by running the following command:
sudo aptitude -y install fortunes-debian-hints
How To Uninstall fortunes-debian-hints on Ubuntu 20.04
To uninstall only the fortunes-debian-hints
package we can use the following command:
sudo apt-get remove fortunes-debian-hints
Uninstall fortunes-debian-hints And Its Dependencies
To uninstall fortunes-debian-hints
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove fortunes-debian-hints
Remove fortunes-debian-hints Configurations and Data
To remove fortunes-debian-hints
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge fortunes-debian-hints
Remove fortunes-debian-hints configuration, data, and all of its dependencies
We can use the following command to remove fortunes-debian-hints
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fortunes-debian-hints
References
Summary
In this tutorial we learn how to install fortunes-debian-hints
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.