How To Install revu-tools on Ubuntu 22.04
Introduction
In this tutorial we learn how to install revu-tools on Ubuntu 22.04.
What is revu-tools
revu-tools is:
REVU-Tools is a set of scripts to help Debian packages reviewers in their task. It gathers fours scripts: revu-build, revu-orig, revu-report and a hook script for pbuilder, used by revu-build to perform build tests.
Among the information REVU-tools gives are:
- Whether the package is a Debian-native
- Whether the package contains a usable debian/watch file
- Whether new versions of the program are available, using the debian/watch file with uscan
- Whether the md5 sums of the upstream tarball and the orig.tar.gz are identical, and whether this is normal or not
- Whether there is a diff between the extracted upstream tarball and orig.tar.gz
- Whether the package fails to build from source in pbuilder
- Whether lintian and linda are happy with this package
- Whether running debuild -S -sa on this package generates files in the diff outside of debian/
There are three methods to install revu-tools 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 revu-tools Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install revu-tools using apt-get by running the following command:
sudo apt-get -y install revu-tools
Install revu-tools Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install revu-tools using apt by running the following command:
sudo apt -y install revu-tools
Install revu-tools 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 revu-tools using aptitude by running the following command:
sudo aptitude -y install revu-tools
How To Uninstall revu-tools on Ubuntu 22.04
To uninstall only the revu-tools package we can use the following command:
sudo apt-get remove revu-tools
Uninstall revu-tools And Its Dependencies
To uninstall revu-tools and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove revu-tools
Remove revu-tools Configurations and Data
To remove revu-tools configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge revu-tools
Remove revu-tools configuration, data, and all of its dependencies
We can use the following command to remove revu-tools configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge revu-tools
References
Summary
In this tutorial we learn how to install revu-tools package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.