How To Install python-galleryremote on Debian 9

In this tutorial we learn how to install python-galleryremote on Debian 9. python-galleryremote is Python library for accessing Gallery web installations

Introduction

In this tutorial we learn how to install python-galleryremote on Debian 9.

What is python-galleryremote

python-galleryremote is:

GalleryRemote is a module which acts as an interface between Python programs and remote Gallery installations, for uploading pictures and videos; Gallery (http://gallery.menalto.com/) is an advanced web photo album organizer.

This package is not intended to be of direct utility to users; others applications can instead rely on it: for an example, see the package gallery-uploader.

For secured https connections, python-m2crypto must be installed.

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

Install python-galleryremote Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-galleryremote

Install python-galleryremote Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-galleryremote

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

sudo aptitude -y install python-galleryremote

How To Uninstall python-galleryremote on Debian 9

To uninstall only the python-galleryremote package we can use the following command:

sudo apt-get remove python-galleryremote

Uninstall python-galleryremote And Its Dependencies

To uninstall python-galleryremote and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-galleryremote

Remove python-galleryremote Configurations and Data

To remove python-galleryremote configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-galleryremote

Remove python-galleryremote configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-galleryremote

Dependencies

python-galleryremote have the following dependencies:

References

Summary

In this tutorial we learn how to install python-galleryremote package on Debian 9 using different package management tools: apt, apt-get and aptitude.