dput command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dput: command not found
or when using sudo you get the following error message
sudo: dput: command not found
Solutions to dput: command not found
How To Fix dput: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dput is provided by dput package.
dput is:
DPut is the Debian Package Upload Tool. The ‘dput’ command uploads one or more packages to the Debian archive.
This package also includes the ‘dcut’ command, which can generate and / or upload a commands file for the Debian FTP archive upload queue.
‘dput’ runs some tests to verify that the package is compliant with Debian Policy. It can also run Lintian on the package before upload, and/or run ‘dinstall’ in dry-run-mode, when using an appropriate upload method.
DPut is intended mainly for Debian maintainers, although it can also be useful for people maintaining local APT repositories.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dput
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dput.
sudo apt -y install dput
Or if you have aptitude installed you can use the following command.
sudo aptitude install dput
Summary
In this tutorial we learn how to fix dput command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.