How To Install dict-devil on Ubuntu 18.04

In this tutorial we learn how to install dict-devil on Ubuntu 18.04. dict-devil is The Devils Dictionary by Ambrose Bierce

Introduction

In this tutorial we learn how to install dict-devil on Ubuntu 18.04.

What is dict-devil

dict-devil is:

This package contains The Devil’s Dictionary, a satirical, cynical and irreverent dictionary of common words, formatted for use by the dictionary server in the dictd package.

There are three methods to install dict-devil on Ubuntu 18.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 dict-devil Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dict-devil using apt-get by running the following command:

sudo apt-get -y install dict-devil

Install dict-devil Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dict-devil using apt by running the following command:

sudo apt -y install dict-devil

Install dict-devil 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 dict-devil using aptitude by running the following command:

sudo aptitude -y install dict-devil

How To Uninstall dict-devil on Ubuntu 18.04

To uninstall only the dict-devil package we can use the following command:

sudo apt-get remove dict-devil

Uninstall dict-devil And Its Dependencies

To uninstall dict-devil and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove dict-devil

Remove dict-devil Configurations and Data

To remove dict-devil configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dict-devil

Remove dict-devil configuration, data, and all of its dependencies

We can use the following command to remove dict-devil configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dict-devil

References

Summary

In this tutorial we learn how to install dict-devil package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.