How To Install xtightvncviewer on Ubuntu 18.04

In this tutorial we learn how to install xtightvncviewer on Ubuntu 18.04. xtightvncviewer is virtual network computing client software for X

Introduction

In this tutorial we learn how to install xtightvncviewer on Ubuntu 18.04.

What is xtightvncviewer

xtightvncviewer 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.

It is implemented in a client/server model. This package provides a client for X, with this you can connect to a vncserver somewhere in the network and display its content in a window. There are vncserver available for other operating systems.

The difference between the xtightvncviewer and the normal vncviewer is the data encoding, optimized for low bandwidth connections. If the client do not support jpeg or zlib encoding it can use the default one. Later versions of xvncviewer (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

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

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

sudo apt-get update

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

sudo apt-get -y install xtightvncviewer

Install xtightvncviewer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xtightvncviewer using apt by running the following command:

sudo apt -y install xtightvncviewer

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

sudo aptitude -y install xtightvncviewer

How To Uninstall xtightvncviewer on Ubuntu 18.04

To uninstall only the xtightvncviewer package we can use the following command:

sudo apt-get remove xtightvncviewer

Uninstall xtightvncviewer And Its Dependencies

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

sudo apt-get -y autoremove xtightvncviewer

Remove xtightvncviewer Configurations and Data

To remove xtightvncviewer configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xtightvncviewer

Remove xtightvncviewer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xtightvncviewer

References

Summary

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