elfrc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
elfrc: command not found
or when using sudo you get the following error message
sudo: elfrc: command not found
Solutions to elfrc: command not found
How To Fix elfrc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu elfrc is provided by elfrc package.
elfrc is:
elfrc is a program which can turn arbitrary files into ELF object files which can then be linked into your program directly and accessed via simple, user-defined symbol names.
For instance, it’s possible to embed even huge (16MB+) files directly into the executable and then access the data in constant time without making the compiler or linker eat loads of memory.
To fix this problem, we can install more using the command below.
sudo apt-get -y install elfrc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install elfrc.
sudo apt -y install elfrc
Or if you have aptitude installed you can use the following command.
sudo aptitude install elfrc
Summary
In this tutorial we learn how to fix elfrc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.