How To Install elpa-pip-requirements on Ubuntu 22.04
Introduction
In this tutorial we learn how to install elpa-pip-requirements
on Ubuntu 22.04.
What is elpa-pip-requirements
elpa-pip-requirements is:
This package provides an Emacs major mode for editing pip requirements files, with the following features:
- Syntax highlighting
- Togglable comments
- Auto completion of package names from PyPI
There are three methods to install elpa-pip-requirements
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-pip-requirements 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-pip-requirements
using apt-get
by running the following command:
sudo apt-get -y install elpa-pip-requirements
Install elpa-pip-requirements Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-pip-requirements
using apt
by running the following command:
sudo apt -y install elpa-pip-requirements
Install elpa-pip-requirements 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-pip-requirements
using aptitude
by running the following command:
sudo aptitude -y install elpa-pip-requirements
How To Uninstall elpa-pip-requirements on Ubuntu 22.04
To uninstall only the elpa-pip-requirements
package we can use the following command:
sudo apt-get remove elpa-pip-requirements
Uninstall elpa-pip-requirements And Its Dependencies
To uninstall elpa-pip-requirements
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove elpa-pip-requirements
Remove elpa-pip-requirements Configurations and Data
To remove elpa-pip-requirements
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge elpa-pip-requirements
Remove elpa-pip-requirements configuration, data, and all of its dependencies
We can use the following command to remove elpa-pip-requirements
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-pip-requirements
References
Summary
In this tutorial we learn how to install elpa-pip-requirements
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.