How To Install libvte-dev on Debian 9

In this tutorial we learn how to install libvte-dev on Debian 9. libvte-dev is Terminal emulator widget for GTK+ 2.0 - development files

Introduction

In this tutorial we learn how to install libvte-dev on Debian 9.

What is libvte-dev

libvte-dev is:

The VTE library provides a terminal emulator widget VteTerminal for applications using the GTK+ toolkit. It also provides the VtePTY object containing functions for starting a new process on a new pseudo-terminal and for manipulating pseudo-terminals.

This package contains development files for the VTE library and its Python bindings. It is needed to develop and build programs using the VTE widget with GTK+ 2.0.

There are three methods to install libvte-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvte-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 libvte-dev using apt-get by running the following command:

sudo apt-get -y install libvte-dev

Install libvte-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvte-dev

Install libvte-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libvte-dev

How To Uninstall libvte-dev on Debian 9

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

sudo apt-get remove libvte-dev

Uninstall libvte-dev And Its Dependencies

To uninstall libvte-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libvte-dev

Remove libvte-dev Configurations and Data

To remove libvte-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libvte-dev

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

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

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

Dependencies

libvte-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libvte-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.