How To Install elpa-page-break-lines on Ubuntu 22.04

In this tutorial we learn how to install elpa-page-break-lines on Ubuntu 22.04. elpa-page-break-lines is Emacs mode to display ugly ^L page breaks as tidy horizontal lines

Introduction

In this tutorial we learn how to install elpa-page-break-lines on Ubuntu 22.04.

What is elpa-page-break-lines

elpa-page-break-lines is:

This library provides an Emacs mode which displays form feed characters as horizontal rules.

The U+000C FORM FEED character is a normal white-space character, and in a text file is often used to mark virtual “page” separation.

Though it is rendered invisibly as white space, Emacs will (like many text editors) represent it with a glyph such as “^L”. This Emacs mode allows the same character to instead display as a custom horizontal line.

There are three methods to install elpa-page-break-lines on Ubuntu 22.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-page-break-lines 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-page-break-lines using apt-get by running the following command:

sudo apt-get -y install elpa-page-break-lines

Install elpa-page-break-lines Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-page-break-lines

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

sudo aptitude -y install elpa-page-break-lines

How To Uninstall elpa-page-break-lines on Ubuntu 22.04

To uninstall only the elpa-page-break-lines package we can use the following command:

sudo apt-get remove elpa-page-break-lines

Uninstall elpa-page-break-lines And Its Dependencies

To uninstall elpa-page-break-lines and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove elpa-page-break-lines

Remove elpa-page-break-lines Configurations and Data

To remove elpa-page-break-lines configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge elpa-page-break-lines

Remove elpa-page-break-lines configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-page-break-lines

References

Summary

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