How To Install dictd on Ubuntu 18.04
Introduction
In this tutorial we learn how to install dictd
on Ubuntu 18.04.
What is dictd
dictd is:
This package provides a TCP-based server that allows a client to access dictionary definitions from a set of natural language dictionary databases.
Many dictionary databases have been packaged for use with dictd. They are described in the /usr/share/doc/dictd/README.Debian.gz file.
Either dict-gcide or dict-wn is essential for a useful English language dictionary server. It is strongly recommended that both be installed. If you are interested in computer terminology, it is recommended to install at least dict-jargon, dict-foldoc, or dict-vera.
The client program, dict, is packaged separately and is needed on all machines that will use the server.
There are three methods to install dictd
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 dictd Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dictd
using apt-get
by running the following command:
sudo apt-get -y install dictd
Install dictd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dictd
using apt
by running the following command:
sudo apt -y install dictd
Install dictd 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 dictd
using aptitude
by running the following command:
sudo aptitude -y install dictd
How To Uninstall dictd on Ubuntu 18.04
To uninstall only the dictd
package we can use the following command:
sudo apt-get remove dictd
Uninstall dictd And Its Dependencies
To uninstall dictd
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove dictd
Remove dictd Configurations and Data
To remove dictd
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge dictd
Remove dictd configuration, data, and all of its dependencies
We can use the following command to remove dictd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dictd
References
Summary
In this tutorial we learn how to install dictd
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.