How To Install libemotion-dev on Ubuntu 18.04

In this tutorial we learn how to install libemotion-dev on Ubuntu 18.04. libemotion-dev is Development files for libemotion

Introduction

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

What is libemotion-dev

libemotion-dev is:

Emotion is a library that allows playing audio and video files, using one of its backends (xine or generic shm player).

It is integrated into Ecore through its mainloop, and is transparent to the user of the library how the decoding of audio and video is being done. Once the objects are created, the user can set callbacks to the specific events and set options to this object, all in the main loop.

This package contains headers and static libraries for the Emotion library.

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

sudo apt-get -y install libemotion-dev

Install libemotion-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libemotion-dev

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

sudo aptitude -y install libemotion-dev

How To Uninstall libemotion-dev on Ubuntu 18.04

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

sudo apt-get remove libemotion-dev

Uninstall libemotion-dev And Its Dependencies

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

sudo apt-get -y autoremove libemotion-dev

Remove libemotion-dev Configurations and Data

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

sudo apt-get -y purge libemotion-dev

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

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

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

References

Summary

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