How To Install libwaei-dev on Ubuntu 18.04

In this tutorial we learn how to install libwaei-dev on Ubuntu 18.04. libwaei-dev is Japanese-English Dictionary for GNOME

Introduction

In this tutorial we learn how to install libwaei-dev on Ubuntu 18.04.

What is libwaei-dev

libwaei-dev is:

gWaei is an easy to use and yet powerful full-featured dictionary program for Japanese to English translation. It organizes results by relevance, supports regex searches, tabs, spell checking, kanji handwriting recognition and an accompanying console version for searches through the terminal.

This package contains the development files.

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

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

sudo apt-get update

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

sudo apt-get -y install libwaei-dev

Install libwaei-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwaei-dev

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

sudo aptitude -y install libwaei-dev

How To Uninstall libwaei-dev on Ubuntu 18.04

To uninstall only the libwaei-dev package we can use the following command:

sudo apt-get remove libwaei-dev

Uninstall libwaei-dev And Its Dependencies

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

sudo apt-get -y autoremove libwaei-dev

Remove libwaei-dev Configurations and Data

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

sudo apt-get -y purge libwaei-dev

Remove libwaei-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwaei-dev

References

Summary

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