How To Install artha on Ubuntu 20.04

In this tutorial we learn how to install artha on Ubuntu 20.04. artha is Handy off-line thesaurus based on WordNet

Introduction

In this tutorial we learn how to install artha on Ubuntu 20.04.

What is artha

artha is:

Artha is a off-line English thesaurus with distinct features like:

  • hot-key press word look-up (select text on any window and press a preset hot-key for look-up)
  • regular expressions based search (broaden search using wild-cards like *, ?, etc.)
  • passive desktop notifications (of word definitions for uninterrupted work-flow)
  • spelling suggestions (when the exact spelling is vague/not known)

Once launched, it monitors for a preset hot-key combination. When some text is selected on any window and the hot-key is pressed, it pops-up with the word looked-up. Should the user prefer passive notifications, this can be done by enabling the notifications option.

When the term looked for is vague/not known, then either the search can be broadened with the use of regular expressions (*, ?, etc.) in the search string or spelling suggestions when a term is incorrect.

For regular expressions based search to work, wordnet-sense-index package is required.

There are three methods to install artha 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 artha Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install artha

Install artha Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install artha using apt by running the following command:

sudo apt -y install artha

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

sudo aptitude -y install artha

How To Uninstall artha on Ubuntu 20.04

To uninstall only the artha package we can use the following command:

sudo apt-get remove artha

Uninstall artha And Its Dependencies

To uninstall artha and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove artha

Remove artha Configurations and Data

To remove artha configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge artha

Remove artha configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge artha

References

Summary

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