heif-convert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
heif-convert: command not found
or when using sudo you get the following error message
sudo: heif-convert: command not found
Solutions to heif-convert: command not found
How To Fix heif-convert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu heif-convert is provided by libheif-examples package.
libheif-examples is:
libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder. HEIF is a new image file format employing HEVC (h.265) image coding for the best compression ratios currently possible.
Sample applications using libheif are provided by this package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libheif-examples
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libheif-examples.
sudo apt -y install libheif-examples
Or if you have aptitude installed you can use the following command.
sudo aptitude install libheif-examples
Summary
In this tutorial we learn how to fix heif-convert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.