hppa64-linux-gnu-ld command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hppa64-linux-gnu-ld: command not found
or when using sudo you get the following error message
sudo: hppa64-linux-gnu-ld: command not found
Solutions to hppa64-linux-gnu-ld: command not found
How To Fix hppa64-linux-gnu-ld: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hppa64-linux-gnu-ld is provided by binutils-hppa64-linux-gnu package.
binutils-hppa64-linux-gnu is:
The programs in this package are used to assemble, link and manipulate binary and object files. They may be used in conjunction with a compiler and various libraries to build programs.
This package is needed to build an 64-bit kernel for 64-bit hppa machines.
To fix this problem, we can install more using the command below.
sudo apt-get -y install binutils-hppa64-linux-gnu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install binutils-hppa64-linux-gnu.
sudo apt -y install binutils-hppa64-linux-gnu
Or if you have aptitude installed you can use the following command.
sudo aptitude install binutils-hppa64-linux-gnu
Summary
In this tutorial we learn how to fix hppa64-linux-gnu-ld command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.