How To Install libexiv2-27 on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 462 words
Introduction
In this tutorial we learn how to install libexiv2-27
on Ubuntu.
What is libexiv2-27
libexiv2-27 is:
Exiv2 is a C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in various formats
Exiv2 library provides:
- fast read and write access to the Exif, IPTC, and XMP metadata of an image
- an easy to use and extensively documented API
- conversions of Exif and IPTC metadata to XMP and vice versa
- a smart IPTC implementation that does not affect data that programs like Photoshop store in the same image segment
- Exif Makernote support:
- Makernote tags can be read and written just like any other metadata
- a sophisticated write algorithm avoids corrupting the Makernote
- a simple interface to extract previews embedded in RAW images and Exif thumbnails
- set and delete methods for Exif thumbnails
There are three methods to install libexiv2-27
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libexiv2-27 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libexiv2-27
using apt-get
by running the following command:
sudo apt-get -y install libexiv2-27
Install libexiv2-27 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libexiv2-27
using apt
by running the following command:
sudo apt -y install libexiv2-27
Install libexiv2-27 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 libexiv2-27
using aptitude
by running the following command:
sudo aptitude -y install libexiv2-27
How To Uninstall libexiv2-27 on Ubuntu
To uninstall only the libexiv2-27
package we can use the following command:
sudo apt-get remove libexiv2-27
Uninstall libexiv2-27 And Its Dependencies
To uninstall libexiv2-27
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove libexiv2-27
Remove libexiv2-27 Configurations and Data
To remove libexiv2-27
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge libexiv2-27
Remove libexiv2-27 configuration, data, and all of its dependencies
We can use the following command to remove libexiv2-27
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libexiv2-27
Dependencies
libexiv2-27 have the following dependencies:
References
Summary
In this tutorial we learn how to install libexiv2-27
package on Ubuntu using different package management tools: apt, apt-get and aptitude.