dpkg-cross command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dpkg-cross: command not found
or when using sudo you get the following error message
sudo: dpkg-cross: command not found
Solutions to dpkg-cross: command not found
How To Fix dpkg-cross: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dpkg-cross is provided by dpkg-cross package.
dpkg-cross is:
dpkg-cross is a tool for installing libraries and headers from packages which have not been converted for Multi-Arch to support cross compiling.
This package contains only the deprecated dpkg-cross binary. Future releases will drop the dpkg-cross and libdebian-dpkgcross-perl binary packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dpkg-cross
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dpkg-cross.
sudo apt -y install dpkg-cross
Or if you have aptitude installed you can use the following command.
sudo aptitude install dpkg-cross
Summary
In this tutorial we learn how to fix dpkg-cross command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.