How To Install libmediastreamer-dev on Ubuntu 18.04

In this tutorial we learn how to install libmediastreamer-dev on Ubuntu 18.04. libmediastreamer-dev is Linphone web phones media library - development files

Introduction

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

What is libmediastreamer-dev

libmediastreamer-dev is:

Linphone is an audio and video internet phone using the SIP protocol. It has a GTK+ and console interface, includes a large variety of audio and video codecs, and provides IM features.

This package contains the development libraries for handling media operations.

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

sudo apt-get -y install libmediastreamer-dev

Install libmediastreamer-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmediastreamer-dev

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

sudo aptitude -y install libmediastreamer-dev

How To Uninstall libmediastreamer-dev on Ubuntu 18.04

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

sudo apt-get remove libmediastreamer-dev

Uninstall libmediastreamer-dev And Its Dependencies

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

sudo apt-get -y autoremove libmediastreamer-dev

Remove libmediastreamer-dev Configurations and Data

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

sudo apt-get -y purge libmediastreamer-dev

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

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

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

References

Summary

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