How To Install libmlv3 on Ubuntu 18.04

In this tutorial we learn how to install libmlv3 on Ubuntu 18.04. libmlv3 is simplified multimedia library in C for beginners.

Introduction

In this tutorial we learn how to install libmlv3 on Ubuntu 18.04.

What is libmlv3

libmlv3 is:

The mlv library is a simplified multimedia library. The library is perfect for beginners in C programming who want to use graphic and sound effects. The library are dedicated to:

  • draw figures, text and boxed text,
  • display images,
  • plays musics,
  • get Keyboard and mouse event,
  • get data by input boxes. This tools is a simplified interface of the SDL libraries. If you are not a beginner, we recommend you to use the SDL libraries (sdl, sdl-gfx, sdl-mixer,sdl-ttf) instead of the mlv library. The mlv library can be compiled for Linux, Macintosh and windows. This package provide the runtime binary needed by the execution of program using the mlv library.

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

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

sudo apt-get update

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

sudo apt-get -y install libmlv3

Install libmlv3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmlv3

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

sudo aptitude -y install libmlv3

How To Uninstall libmlv3 on Ubuntu 18.04

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

sudo apt-get remove libmlv3

Uninstall libmlv3 And Its Dependencies

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

sudo apt-get -y autoremove libmlv3

Remove libmlv3 Configurations and Data

To remove libmlv3 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmlv3

Remove libmlv3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmlv3

References

Summary

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