How To Install python-imdbpy on Debian 9

In this tutorial we learn how to install python-imdbpy on Debian 9. python-imdbpy is Python package to access the IMDbs movie database

Introduction

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

What is python-imdbpy

python-imdbpy is:

IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about both movies and people. It can be very easily used by programmers and developers to provide access to the IMDb’s data to their programs.

There are three methods to install python-imdbpy 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-imdbpy 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-imdbpy using apt-get by running the following command:

sudo apt-get -y install python-imdbpy

Install python-imdbpy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-imdbpy

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

sudo aptitude -y install python-imdbpy

How To Uninstall python-imdbpy on Debian 9

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

sudo apt-get remove python-imdbpy

Uninstall python-imdbpy And Its Dependencies

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

sudo apt-get -y autoremove python-imdbpy

Remove python-imdbpy Configurations and Data

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

sudo apt-get -y purge python-imdbpy

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

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

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

Dependencies

python-imdbpy have the following dependencies:

References

Summary

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