How To Install guacamole on Ubuntu 18.04

In this tutorial we learn how to install guacamole on Ubuntu 18.04. guacamole is HTML5 web application for accessing remote desktops

Introduction

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

What is guacamole

guacamole is:

Guacamole is an HTML5 web application that provides access to a desktop environment using remote desktop protocols. A centralized server acts as a tunnel and proxy, allowing access to multiple desktops through a web browser. No plugins are needed: the client requires nothing more than a web browser supporting HTML5 and AJAX.

This package contains the web application itself and depends on the guacd proxy daemon, which allows communication with various backend protocols. It also configures a Tomcat instance and provides web server configuration for Apache.

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

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

sudo apt-get update

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

sudo apt-get -y install guacamole

Install guacamole Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install guacamole

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

sudo aptitude -y install guacamole

How To Uninstall guacamole on Ubuntu 18.04

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

sudo apt-get remove guacamole

Uninstall guacamole And Its Dependencies

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

sudo apt-get -y autoremove guacamole

Remove guacamole Configurations and Data

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

sudo apt-get -y purge guacamole

Remove guacamole configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge guacamole

References

Summary

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