How To Install xvnc4viewer on Ubuntu 18.04

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

Introduction

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

What is xvnc4viewer

xvnc4viewer 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 vncclient for X, with this you can connect to a vncserver somewhere in the network and display its content in a window. There are vncservers available for other operating systems.

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

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

sudo apt-get update

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

sudo apt-get -y install xvnc4viewer

Install xvnc4viewer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xvnc4viewer

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

sudo aptitude -y install xvnc4viewer

How To Uninstall xvnc4viewer on Ubuntu 18.04

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

sudo apt-get remove xvnc4viewer

Uninstall xvnc4viewer And Its Dependencies

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

sudo apt-get -y autoremove xvnc4viewer

Remove xvnc4viewer Configurations and Data

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

sudo apt-get -y purge xvnc4viewer

Remove xvnc4viewer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xvnc4viewer

References

Summary

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