How To Install elpa-faceup on Ubuntu 18.04

In this tutorial we learn how to install elpa-faceup on Ubuntu 18.04. elpa-faceup is Regression test system for font-lock

Introduction

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

What is elpa-faceup

elpa-faceup is:

Emacs is capable of highlighting buffers based on language-specific font-lock' rules. This package, faceup’, makes it possible to perform regression test for packages that provide font-lock rules. The underlying idea is to convert text with highlights (“faces”) into a plain text representation using the Faceup markup language.

There are three methods to install elpa-faceup 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-faceup 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-faceup using apt-get by running the following command:

sudo apt-get -y install elpa-faceup

Install elpa-faceup Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-faceup

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

sudo aptitude -y install elpa-faceup

How To Uninstall elpa-faceup on Ubuntu 18.04

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

sudo apt-get remove elpa-faceup

Uninstall elpa-faceup And Its Dependencies

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

sudo apt-get -y autoremove elpa-faceup

Remove elpa-faceup Configurations and Data

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

sudo apt-get -y purge elpa-faceup

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

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

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

References

Summary

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