How To Install sapphire on Ubuntu 18.04

In this tutorial we learn how to install sapphire on Ubuntu 18.04. sapphire is A minimal but configurable X11R6 window manager

Introduction

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

What is sapphire

sapphire is:

Sapphire is a window manager for X11R6. It is fairly minimal in what it provides on screen: one toolbar, the usual window borders and a popup menu from the root window.

It supports themes as X resource files, and the menu is editable. If you install the ‘menu’ package, you’ll get an automatically updated ‘Debian’ submenu of installed programs.

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

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

sudo apt-get update

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

sudo apt-get -y install sapphire

Install sapphire Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sapphire

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

sudo aptitude -y install sapphire

How To Uninstall sapphire on Ubuntu 18.04

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

sudo apt-get remove sapphire

Uninstall sapphire And Its Dependencies

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

sudo apt-get -y autoremove sapphire

Remove sapphire Configurations and Data

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

sudo apt-get -y purge sapphire

Remove sapphire configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sapphire

References

Summary

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