Ubuntu Tutorial

How To Install elpa-olivetti on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes  • 492 words

Introduction

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

What is elpa-olivetti

elpa-olivetti is:

Olivetti, a minor mode for Emacs, displays content soft-wrapped to a comfortable width, centered inside the larger window. The visual effect of this is similar to the sheet of paper in WYSIWYG word-processors such as LibreOffice, and is similar to distraction-limiting software such as FocusWriter, WriteRoom, and various Markdown editors. Olivetti-mode is usually used for writing prose and long documents, but when used for reading it may slightly increase one’s reading speed and one’s ability to recall the material.

Features:

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

sudo apt-get -y install elpa-olivetti

Install elpa-olivetti Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-olivetti

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

sudo aptitude -y install elpa-olivetti

How To Uninstall elpa-olivetti on Ubuntu

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

sudo apt-get remove elpa-olivetti

Uninstall elpa-olivetti And Its Dependencies

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

sudo apt-get -y autoremove elpa-olivetti

Remove elpa-olivetti Configurations and Data

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

sudo apt-get -y purge elpa-olivetti

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

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

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

Dependencies

elpa-olivetti have the following dependencies:

References

Summary

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

Follow us

We provides various tutorials about Ubuntu