How To Install libvncserver-config on Ubuntu 18.04

In this tutorial we learn how to install libvncserver-config on Ubuntu 18.04. libvncserver-config is API to write ones own VNC server - library utility

Introduction

In this tutorial we learn how to install libvncserver-config on Ubuntu 18.04.

What is libvncserver-config

libvncserver-config is:

LibVNCServer makes writing a VNC server (or more correctly, a program exporting a framebuffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression.

This package provides libvncserver-config utility, needed to obtain some option of the libvncserver library.

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

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

sudo apt-get update

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

sudo apt-get -y install libvncserver-config

Install libvncserver-config Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvncserver-config

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

sudo aptitude -y install libvncserver-config

How To Uninstall libvncserver-config on Ubuntu 18.04

To uninstall only the libvncserver-config package we can use the following command:

sudo apt-get remove libvncserver-config

Uninstall libvncserver-config And Its Dependencies

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

sudo apt-get -y autoremove libvncserver-config

Remove libvncserver-config Configurations and Data

To remove libvncserver-config configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libvncserver-config

Remove libvncserver-config configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libvncserver-config

References

Summary

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