sunxi-fel command not found

In this troubleshooting guide we learn how to fix sunxi-fel command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

sunxi-fel: command not found

or when using sudo you get the following error message

sudo: sunxi-fel: command not found

Solutions to sunxi-fel: command not found

How To Fix sunxi-fel: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sunxi-fel 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 sunxi-fel command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.