eu-nm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
eu-nm: command not found
or when using sudo you get the following error message
sudo: eu-nm: command not found
Solutions to eu-nm: command not found
How To Fix eu-nm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu eu-nm is provided by elfutils package.
elfutils is:
Elfutils is a collection of utilities, including eu-ld (a linker), eu-nm (for listing symbols from object files), eu-size (for listing the section sizes of an object or archive file), eu-strip (for discarding symbols), eu-readelf (to see the raw ELF file structures), and eu-elflint (to check for well-formed ELF files).
To fix this problem, we can install more using the command below.
sudo apt-get -y install elfutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install elfutils.
sudo apt -y install elfutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install elfutils
Summary
In this tutorial we learn how to fix eu-nm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.