How To Install ruby-mini-exiftool on Debian 11

In this tutorial we learn how to install ruby-mini-exiftool on Debian 11. ruby-mini-exiftool is wrapper for exiftool command-line

Introduction

In this tutorial we learn how to install ruby-mini-exiftool on Debian 11.

What is ruby-mini-exiftool

ruby-mini-exiftool is:

This library is a wrapper for the Exiftool command-line application, written by Phil Harvey. It provides the full power of Exiftool to Ruby: reading and writing of EXIF-data, IPTC-data and XMP-data.

There are three methods to install ruby-mini-exiftool on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ruby-mini-exiftool Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ruby-mini-exiftool

Install ruby-mini-exiftool Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-mini-exiftool using apt by running the following command:

sudo apt -y install ruby-mini-exiftool

Install ruby-mini-exiftool 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ruby-mini-exiftool using aptitude by running the following command:

sudo aptitude -y install ruby-mini-exiftool

How To Uninstall ruby-mini-exiftool on Debian 11

To uninstall only the ruby-mini-exiftool package we can use the following command:

sudo apt-get remove ruby-mini-exiftool

Uninstall ruby-mini-exiftool And Its Dependencies

To uninstall ruby-mini-exiftool and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove ruby-mini-exiftool

Remove ruby-mini-exiftool Configurations and Data

To remove ruby-mini-exiftool configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge ruby-mini-exiftool

Remove ruby-mini-exiftool configuration, data, and all of its dependencies

We can use the following command to remove ruby-mini-exiftool configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-mini-exiftool

Dependencies

ruby-mini-exiftool have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-mini-exiftool package on Debian 11 using different package management tools: apt, apt-get and aptitude.