How To Install libortp9 on Ubuntu 18.04

In this tutorial we learn how to install libortp9 on Ubuntu 18.04. libortp9 is Real-time Transport Protocol stack

Introduction

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

What is libortp9

libortp9 is:

This library implements the RFC 1889 (RTP) with a easy to use API with high and low level access.

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

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

sudo apt-get update

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

sudo apt-get -y install libortp9

Install libortp9 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libortp9

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

sudo aptitude -y install libortp9

How To Uninstall libortp9 on Ubuntu 18.04

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

sudo apt-get remove libortp9

Uninstall libortp9 And Its Dependencies

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

sudo apt-get -y autoremove libortp9

Remove libortp9 Configurations and Data

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

sudo apt-get -y purge libortp9

Remove libortp9 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libortp9

References

Summary

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