How To Install conspy on Ubuntu 20.04

In this tutorial we learn how to install conspy on Ubuntu 20.04. conspy is Remote control of Linux virtual consoles

Introduction

In this tutorial we learn how to install conspy on Ubuntu 20.04.

What is conspy

conspy is:

Conspy allows a (possibly remote) user to see what is displayed on a Linux virtual console, and send keystrokes to it. It is rather like VNC, but where VNC takes control of a GUI conspy takes control of a text mode virtual console. Unlike VNC, conspy does not require a server to be installed prior to being used.

There are three methods to install conspy on Ubuntu 20.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 conspy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install conspy

Install conspy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install conspy

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

sudo aptitude -y install conspy

How To Uninstall conspy on Ubuntu 20.04

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

sudo apt-get remove conspy

Uninstall conspy And Its Dependencies

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

sudo apt-get -y autoremove conspy

Remove conspy Configurations and Data

To remove conspy configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge conspy

Remove conspy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge conspy

References

Summary

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