How To Install libexif-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libexif-dev on Ubuntu 20.04.
What is libexif-dev
libexif-dev is:
Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.
This package contains the development files.
Package: libexif-dev Architecture: amd64 Version: 0.6.21-6 Multi-Arch: same Priority: optional Section: libdevel Source: libexif Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian PhotoTools Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 511 Depends: libc6-dev, libexif12 (= 0.6.21-6) Recommends: libexif-doc (= 0.6.21-6) Filename: pool/main/libe/libexif/libexif-dev_0.6.21-6_amd64.deb Size: 83228 MD5sum: 7722aafee6dc0938e0c4c09043c8cacb SHA1: 13615027a39172a3be4be62a288e1ec024eba861 SHA256: a1ef227e1ade6452158510bd4e428b5656e3b88c10e7e31cfe8aba81777b8b07 Homepage: https://libexif.github.io/ Description-en: library to parse EXIF files (development files) Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.
This package contains the development files.
There are three methods to install libexif-dev on Ubuntu 20.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 libexif-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libexif-dev using apt-get by running the following command:
sudo apt-get -y install libexif-dev
Install libexif-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libexif-dev using apt by running the following command:
sudo apt -y install libexif-dev
Install libexif-dev 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 libexif-dev using aptitude by running the following command:
sudo aptitude -y install libexif-dev
How To Uninstall libexif-dev on Ubuntu 20.04
To uninstall only the libexif-dev package we can use the following command:
sudo apt-get remove libexif-dev
Uninstall libexif-dev And Its Dependencies
To uninstall libexif-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libexif-dev
Remove libexif-dev Configurations and Data
To remove libexif-dev configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libexif-dev
Remove libexif-dev configuration, data, and all of its dependencies
We can use the following command to remove libexif-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libexif-dev
References
Summary
In this tutorial we learn how to install libexif-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.