How To Install disper on Ubuntu 18.04

In this tutorial we learn how to install disper on Ubuntu 18.04. disper is display switcher for attaching/detaching displays easily

Introduction

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

What is disper

disper is:

No more headaches just before your presentation. Disper lets you add and remove display devices at the press of a button. It detects what display devices are attached at the moment, and configures the display output automatically. You can specify whether to clone the output on all displays, or to extend the desktop.

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

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

sudo apt-get update

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

sudo apt-get -y install disper

Install disper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install disper

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

sudo aptitude -y install disper

How To Uninstall disper on Ubuntu 18.04

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

sudo apt-get remove disper

Uninstall disper And Its Dependencies

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

sudo apt-get -y autoremove disper

Remove disper Configurations and Data

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

sudo apt-get -y purge disper

Remove disper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge disper

References

Summary

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