bin2fex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bin2fex: command not found
or when using sudo you get the following error message
sudo: bin2fex: command not found
Solutions to bin2fex: command not found
How To Fix bin2fex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bin2fex is provided by sunxi-tools package.
sunxi-tools is:
This package contains various tools for working with devices based around the Allwinner sunxi processors (A10/A13/A20/A31 etc). Utilities include tools to:
- interact with the processors’ lowlevel bootrom (AKA FEL mode).
- boot over the USB OTG port.
- compile and decompile the Allwinner binary hardware descriptions (FEX files).
- display information about sunxi boot headers.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sunxi-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sunxi-tools.
sudo apt -y install sunxi-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install sunxi-tools
Summary
In this tutorial we learn how to fix bin2fex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.