How To Install elpa-spinner on Ubuntu 18.04

In this tutorial we learn how to install elpa-spinner on Ubuntu 18.04. elpa-spinner is spinner for the Emacs modeline for operations in progress

Introduction

In this tutorial we learn how to install elpa-spinner on Ubuntu 18.04.

What is elpa-spinner

elpa-spinner is:

This library provides functions to add spinners to the Emacs modeline. Spinners are used to indicate that an operation is in progress.

A spinner is a column or columns of the modeline where the character displayed in that column or columns changes rapidly, looping through a sequence of characters or strings, until the operation is complete. For example, one spinner type provided by this package loops through these four characters: ◰, ◳, ◲ and ◱.

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

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

sudo apt-get update

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

sudo apt-get -y install elpa-spinner

Install elpa-spinner Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-spinner

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

sudo aptitude -y install elpa-spinner

How To Uninstall elpa-spinner on Ubuntu 18.04

To uninstall only the elpa-spinner package we can use the following command:

sudo apt-get remove elpa-spinner

Uninstall elpa-spinner And Its Dependencies

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

sudo apt-get -y autoremove elpa-spinner

Remove elpa-spinner Configurations and Data

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

sudo apt-get -y purge elpa-spinner

Remove elpa-spinner configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-spinner

References

Summary

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