How To Install elpa-visual-fill-column on Ubuntu 18.04

In this tutorial we learn how to install elpa-visual-fill-column on Ubuntu 18.04. elpa-visual-fill-column is Emacs mode that wraps visual-line-mode buffers at fill-column

Introduction

In this tutorial we learn how to install elpa-visual-fill-column on Ubuntu 18.04.

What is elpa-visual-fill-column

elpa-visual-fill-column is:

Visual-fill-column-mode is a small Emacs minor mode that mimics the effect of fill-column in visual-line-mode. Instead of wrapping lines at the window edge, which is the standard behaviour of visual-line-mode, it wraps lines at fill-column. If fill-column is too large for the window, the text is wrapped at the window edge.

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

sudo apt-get -y install elpa-visual-fill-column

Install elpa-visual-fill-column Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-visual-fill-column

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

sudo aptitude -y install elpa-visual-fill-column

How To Uninstall elpa-visual-fill-column on Ubuntu 18.04

To uninstall only the elpa-visual-fill-column package we can use the following command:

sudo apt-get remove elpa-visual-fill-column

Uninstall elpa-visual-fill-column And Its Dependencies

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

sudo apt-get -y autoremove elpa-visual-fill-column

Remove elpa-visual-fill-column Configurations and Data

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

sudo apt-get -y purge elpa-visual-fill-column

Remove elpa-visual-fill-column configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-visual-fill-column

References

Summary

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