How To Install tigervnc-viewer on Debian 9

In this tutorial we learn how to install tigervnc-viewer on Debian 9. tigervnc-viewer is Virtual network computing client for X

Introduction

In this tutorial we learn how to install tigervnc-viewer on Debian 9.

What is tigervnc-viewer

tigervnc-viewer is:

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

This package provides a VNC client for X. With this you can connect to a VNC server and display its content. There are VNC servers available for other operating systems.

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

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

sudo apt-get update

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

sudo apt-get -y install tigervnc-viewer

Install tigervnc-viewer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tigervnc-viewer

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

sudo aptitude -y install tigervnc-viewer

How To Uninstall tigervnc-viewer on Debian 9

To uninstall only the tigervnc-viewer package we can use the following command:

sudo apt-get remove tigervnc-viewer

Uninstall tigervnc-viewer And Its Dependencies

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

sudo apt-get -y autoremove tigervnc-viewer

Remove tigervnc-viewer Configurations and Data

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

sudo apt-get -y purge tigervnc-viewer

Remove tigervnc-viewer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tigervnc-viewer

Dependencies

tigervnc-viewer have the following dependencies:

References

Summary

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