heimdall command not found

In this troubleshooting guide we learn how to fix heimdall command not found error message

Introduction

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

heimdall: command not found

or when using sudo you get the following error message

sudo: heimdall: command not found

Solutions to heimdall: command not found

How To Fix heimdall: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu heimdall is provided by heimdall-flash package.

heimdall-flash is:

Heimdall is a tool for flashing firmware (aka ROMs) onto Samsung Galaxy S devices over a USB connection. It accomplishes this using the same protocol as Odin, Samsung’s internal Windows-only firmware updater.

To fix this problem, we can install more using the command below.

sudo apt-get -y install heimdall-flash

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install heimdall-flash.

sudo apt -y install heimdall-flash

Or if you have aptitude installed you can use the following command.

sudo aptitude install heimdall-flash

Summary

In this tutorial we learn how to fix heimdall command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.