How To Install elpa-hungry-delete on Ubuntu 18.04

In this tutorial we learn how to install elpa-hungry-delete on Ubuntu 18.04. elpa-hungry-delete is enable hungry deletion in all modes

Introduction

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

What is elpa-hungry-delete

elpa-hungry-delete is:

`cc-mode’ implements hungry deletion for its programming modes. This package borrows its implementation in a minor mode, so that hungry deletion can be used in all modes.

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

sudo apt-get -y install elpa-hungry-delete

Install elpa-hungry-delete Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-hungry-delete

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

sudo aptitude -y install elpa-hungry-delete

How To Uninstall elpa-hungry-delete on Ubuntu 18.04

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

sudo apt-get remove elpa-hungry-delete

Uninstall elpa-hungry-delete And Its Dependencies

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

sudo apt-get -y autoremove elpa-hungry-delete

Remove elpa-hungry-delete Configurations and Data

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

sudo apt-get -y purge elpa-hungry-delete

Remove elpa-hungry-delete configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-hungry-delete

References

Summary

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