How To Install libmoe-dev on Ubuntu 18.04

In this tutorial we learn how to install libmoe-dev on Ubuntu 18.04. libmoe-dev is library to handle multiple octets character encoding scheme (devel files)

Introduction

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

What is libmoe-dev

libmoe-dev is:

libmoe is a collection of routines to handle sequence of characters consisting of multiple octets. The main functionalities are to convert the encoding of a character from ISO 2022 to “fake” UTF-8, and vice versa.

This development package contains include files for the interface. It includes also a static lib for particular cases.

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

sudo apt-get -y install libmoe-dev

Install libmoe-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmoe-dev

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

sudo aptitude -y install libmoe-dev

How To Uninstall libmoe-dev on Ubuntu 18.04

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

sudo apt-get remove libmoe-dev

Uninstall libmoe-dev And Its Dependencies

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

sudo apt-get -y autoremove libmoe-dev

Remove libmoe-dev Configurations and Data

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

sudo apt-get -y purge libmoe-dev

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

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

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

References

Summary

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