How To Install gtk-vector-screenshot on Debian 9

In this tutorial we learn how to install gtk-vector-screenshot on Debian 9. gtk-vector-screenshot is takes screenshots of applications as PDF or SVG files

Introduction

In this tutorial we learn how to install gtk-vector-screenshot on Debian 9.

What is gtk-vector-screenshot

gtk-vector-screenshot is:

This gtk module allows you to take a screenshot of a running gtk-3 application as a vector image, with fully scalable graphics and selectable text. It supports rendering the application to PDF, SVG and PostScript.

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

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

sudo apt-get update

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

sudo apt-get -y install gtk-vector-screenshot

Install gtk-vector-screenshot Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gtk-vector-screenshot using apt by running the following command:

sudo apt -y install gtk-vector-screenshot

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

sudo aptitude -y install gtk-vector-screenshot

How To Uninstall gtk-vector-screenshot on Debian 9

To uninstall only the gtk-vector-screenshot package we can use the following command:

sudo apt-get remove gtk-vector-screenshot

Uninstall gtk-vector-screenshot And Its Dependencies

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

sudo apt-get -y autoremove gtk-vector-screenshot

Remove gtk-vector-screenshot Configurations and Data

To remove gtk-vector-screenshot configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gtk-vector-screenshot

Remove gtk-vector-screenshot configuration, data, and all of its dependencies

We can use the following command to remove gtk-vector-screenshot configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gtk-vector-screenshot

Dependencies

gtk-vector-screenshot have the following dependencies:

References

Summary

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