How To Install libapache-gallery-perl on Debian 12

Learn how to install libapache-gallery-perl on Debian 12 with this tutorial. libapache-gallery-perl is Apache module to create image galleries on-the-fly

Introduction

In this tutorial we learn how to install libapache-gallery-perl on Debian 12.

libapache-gallery-perl is:

This package contains a Perl module for Apache to create galleries.

The images just need to be copied into a directory where Apache will pick them up and create a gallery page for you, with thumbnails and links to the full size images.

Thumbnail size and maximum image size can be defined, among others.

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

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

sudo apt-get update

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

sudo apt-get -y install libapache-gallery-perl

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libapache-gallery-perl using apt by running the following command:

sudo apt -y install libapache-gallery-perl

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 libapache-gallery-perl using aptitude by running the following command:

sudo aptitude -y install libapache-gallery-perl

To uninstall only the libapache-gallery-perl package we can use the following command:

sudo apt-get remove libapache-gallery-perl

To uninstall libapache-gallery-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libapache-gallery-perl

To remove libapache-gallery-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libapache-gallery-perl

We can use the following command to remove libapache-gallery-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libapache-gallery-perl

Dependencies

libapache-gallery-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libapache-gallery-perl package on Debian 12 using different package management tools: apt, apt-get and aptitude.