How To Install elpa-eproject on Ubuntu 22.04
Introduction
In this tutorial we learn how to install elpa-eproject
on Ubuntu 22.04.
What is elpa-eproject
elpa-eproject is:
Eproject is a minor-mode that allows the grouping of related files as projects. It aims to be as unobtrusive as possible – no new files are created (or required to exist) on disk, and buffers that are not a member of a project are not affected in any way. Where ‘auto-mode-alist activates MODE for FILE-REGEX, Eproject activates PROJECT-TYPE for FILES-IN-DIRECTORY, when PROJECT-TYPE-DEFINITION is true. It also creates a customisable hook that is run whenever a file belonging to a project is visited.
There are three methods to install elpa-eproject
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-eproject 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-eproject
using apt-get
by running the following command:
sudo apt-get -y install elpa-eproject
Install elpa-eproject Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-eproject
using apt
by running the following command:
sudo apt -y install elpa-eproject
Install elpa-eproject 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-eproject
using aptitude
by running the following command:
sudo aptitude -y install elpa-eproject
How To Uninstall elpa-eproject on Ubuntu 22.04
To uninstall only the elpa-eproject
package we can use the following command:
sudo apt-get remove elpa-eproject
Uninstall elpa-eproject And Its Dependencies
To uninstall elpa-eproject
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove elpa-eproject
Remove elpa-eproject Configurations and Data
To remove elpa-eproject
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge elpa-eproject
Remove elpa-eproject configuration, data, and all of its dependencies
We can use the following command to remove elpa-eproject
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-eproject
References
Summary
In this tutorial we learn how to install elpa-eproject
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.