Introduction
In this tutorial we learn how to install equivs
on Ubuntu 22.04.
What is equivs
equivs is:
This package provides a tool to create trivial Debian packages.
Typically these packages contain only dependency information, but they
can also include normal installed files like other packages do.
One use for this is to create a metapackage: a package whose sole
purpose is to declare dependencies and conflicts on other packages so
that these will be automatically installed, upgraded, or removed.
Another use is to circumvent dependency checking: by letting dpkg
think a particular package name and version is installed when it
isn’t, you can work around bugs in other packages’ dependencies.
(Please do still file such bugs, though.)
There are three methods to install equivs
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 equivs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install equivs
using apt-get
by running the following command:
sudo apt-get -y install equivs
Install equivs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install equivs
using apt
by running the following command:
sudo apt -y install equivs
Install equivs 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 equivs
using aptitude
by running the following command:
sudo aptitude -y install equivs
How To Uninstall equivs on Ubuntu 22.04
To uninstall only the equivs
package we can use the following command:
sudo apt-get remove equivs
Uninstall equivs And Its Dependencies
To uninstall equivs
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove equivs
Remove equivs Configurations and Data
To remove equivs
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge equivs
Remove equivs configuration, data, and all of its dependencies
We can use the following command to remove equivs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge equivs
References
Summary
In this tutorial we learn how to install equivs
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.