How To Install libexif12 on Ubuntu 20.04

In this tutorial we learn how to install libexif12 on Ubuntu 20.04. libexif12 is library to parse EXIF files library to parse EXIF files

Introduction

In this tutorial we learn how to install libexif12 on Ubuntu 20.04.

What is libexif12

libexif12 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. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libexif12 Architecture: amd64 Version: 0.6.21-6 Multi-Arch: same Priority: optional Section: libs 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: 360 Depends: libc6 (>= 2.29) Filename: pool/main/libe/libexif/libexif12_0.6.21-6_amd64.deb Size: 77424 MD5sum: fc4345a4e85993264d5d7c85f1bb971f SHA1: f52d3f77bc8c965781d1812214d9a18199882105 SHA256: dc6f2034f56fd5ba14f843e8bd0cb2033f1a938cfb13bf1322d3cf9d12da0028 Homepage: https://libexif.github.io/ Description-en: library to parse EXIF 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. Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libexif12 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 libexif12 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libexif12 using apt-get by running the following command:

sudo apt-get -y install libexif12

Install libexif12 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libexif12 using apt by running the following command:

sudo apt -y install libexif12

Install libexif12 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 libexif12 using aptitude by running the following command:

sudo aptitude -y install libexif12

How To Uninstall libexif12 on Ubuntu 20.04

To uninstall only the libexif12 package we can use the following command:

sudo apt-get remove libexif12

Uninstall libexif12 And Its Dependencies

To uninstall libexif12 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libexif12

Remove libexif12 Configurations and Data

To remove libexif12 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libexif12

Remove libexif12 configuration, data, and all of its dependencies

We can use the following command to remove libexif12 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libexif12

References

Summary

In this tutorial we learn how to install libexif12 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.