How To Install libtgvoip-dev on Ubuntu 18.04

In this tutorial we learn how to install libtgvoip-dev on Ubuntu 18.04. libtgvoip-dev is VoIP library for Telegram clients - developer files

Introduction

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

What is libtgvoip-dev

libtgvoip-dev is:

This package contains the multiplatform library for calls in Telegram. Telegram is a free cloud-based instant messaging service, it was established by Pavel Durov and his team in 2013.

This package provides headers files for development.

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

sudo apt-get -y install libtgvoip-dev

Install libtgvoip-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtgvoip-dev

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

sudo aptitude -y install libtgvoip-dev

How To Uninstall libtgvoip-dev on Ubuntu 18.04

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

sudo apt-get remove libtgvoip-dev

Uninstall libtgvoip-dev And Its Dependencies

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

sudo apt-get -y autoremove libtgvoip-dev

Remove libtgvoip-dev Configurations and Data

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

sudo apt-get -y purge libtgvoip-dev

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

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

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

References

Summary

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