How To Install libtelepathy-glib-dev on Ubuntu 18.04

In this tutorial we learn how to install libtelepathy-glib-dev on Ubuntu 18.04. libtelepathy-glib-dev is GLib Telepathy connection manager library (headers)

Introduction

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

What is libtelepathy-glib-dev

libtelepathy-glib-dev is:

This package contains development files for telepathy-glib, a GLib-based library for Telepathy components.

Vala bindings are also included; the Vala bindings are currently considered to be experimental by the maintainers of telepathy-glib, and might receive incompatible changes until at least telepathy-glib 0.14.0.

Telepathy is a D-Bus framework for unifying real time communication, including instant messaging, voice calls and video calls. It abstracts differences between protocols to provide a unified interface for applications.

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

sudo apt-get -y install libtelepathy-glib-dev

Install libtelepathy-glib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtelepathy-glib-dev

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

sudo aptitude -y install libtelepathy-glib-dev

How To Uninstall libtelepathy-glib-dev on Ubuntu 18.04

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

sudo apt-get remove libtelepathy-glib-dev

Uninstall libtelepathy-glib-dev And Its Dependencies

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

sudo apt-get -y autoremove libtelepathy-glib-dev

Remove libtelepathy-glib-dev Configurations and Data

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

sudo apt-get -y purge libtelepathy-glib-dev

Remove libtelepathy-glib-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtelepathy-glib-dev

References

Summary

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