How To Install dict-moby-thesaurus on Ubuntu 18.04

In this tutorial we learn how to install dict-moby-thesaurus on Ubuntu 18.04. dict-moby-thesaurus is Largest and most comprehensive thesaurus

Introduction

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

What is dict-moby-thesaurus

dict-moby-thesaurus is:

Moby Thesaurus is the largest and most comprehensive thesaurus data source in English available for commercial use. This second edition has been thoroughly revised adding more than 5,000 root words (to total more than 30,000) with an additional million synonyms and related terms (to total more than 2.5 million synonyms and related terms).

This is formatted for use by the dictionary server in the dictd package.

There are three methods to install dict-moby-thesaurus 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-moby-thesaurus 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-moby-thesaurus using apt-get by running the following command:

sudo apt-get -y install dict-moby-thesaurus

Install dict-moby-thesaurus Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dict-moby-thesaurus

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

sudo aptitude -y install dict-moby-thesaurus

How To Uninstall dict-moby-thesaurus on Ubuntu 18.04

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

sudo apt-get remove dict-moby-thesaurus

Uninstall dict-moby-thesaurus And Its Dependencies

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

sudo apt-get -y autoremove dict-moby-thesaurus

Remove dict-moby-thesaurus Configurations and Data

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

sudo apt-get -y purge dict-moby-thesaurus

Remove dict-moby-thesaurus configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dict-moby-thesaurus

References

Summary

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