How To Install elpa-noflet on Ubuntu 18.04

In this tutorial we learn how to install elpa-noflet on Ubuntu 18.04. elpa-noflet is Emacs Lisp noflet macro for dynamic, local advice

Introduction

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

What is elpa-noflet

elpa-noflet is:

This package provides the Emacs Lisp macro noflet, Nic Ferrier’s overriding flet, for fleting functions for the purpose of decorating them. It is a replacement for the deprecated flet macro.

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

sudo apt-get -y install elpa-noflet

Install elpa-noflet Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-noflet

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

sudo aptitude -y install elpa-noflet

How To Uninstall elpa-noflet on Ubuntu 18.04

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

sudo apt-get remove elpa-noflet

Uninstall elpa-noflet And Its Dependencies

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

sudo apt-get -y autoremove elpa-noflet

Remove elpa-noflet Configurations and Data

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

sudo apt-get -y purge elpa-noflet

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

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

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

References

Summary

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