rpmdiff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rpmdiff: command not found
or when using sudo you get the following error message
sudo: rpmdiff: command not found
Solutions to rpmdiff: command not found
How To Fix rpmdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rpmdiff is provided by rpmlint package.
rpmlint is:
rpmlint is a tool for checking common errors in rpm packages. rpmlint can be used to test individual packages before uploading or to check an entire distribution. By default all applicable checks are performed but specific checks can be performed by using command line parameters.
rpmlint can check binary rpms (files and installed ones), source rpms, and plain specfiles, but all checks do not apply to all argument types. For best check coverage, run rpmlint on source rpms instead of plain specfiles, and installed binary rpms instead of uninstalled binary rpm files.
The idea for rpmlint is from the lintian tool of the Debian project.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rpmlint
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rpmlint.
sudo apt -y install rpmlint
Or if you have aptitude installed you can use the following command.
sudo aptitude install rpmlint
Summary
In this tutorial we learn how to fix rpmdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.