How To Install libheif-examples on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libheif-examples
on Ubuntu 18.04.
What is libheif-examples
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.
There are three methods to install libheif-examples
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libheif-examples Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libheif-examples
using apt-get
by running the following command:
sudo apt-get -y install libheif-examples
Install libheif-examples Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libheif-examples
using apt
by running the following command:
sudo apt -y install libheif-examples
Install libheif-examples Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libheif-examples
using aptitude
by running the following command:
sudo aptitude -y install libheif-examples
How To Uninstall libheif-examples on Ubuntu 18.04
To uninstall only the libheif-examples
package we can use the following command:
sudo apt-get remove libheif-examples
Uninstall libheif-examples And Its Dependencies
To uninstall libheif-examples
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libheif-examples
Remove libheif-examples Configurations and Data
To remove libheif-examples
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libheif-examples
Remove libheif-examples configuration, data, and all of its dependencies
We can use the following command to remove libheif-examples
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libheif-examples
References
Summary
In this tutorial we learn how to install libheif-examples
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.