How To Install python3-discogs-client on Kali Linux

In this tutorial we learn how to install python3-discogs-client on Kali Linux. python3-discogs-client is Python module to access the Discogs API

Introduction

In this tutorial we learn how to install python3-discogs-client on Kali Linux.

What is python3-discogs-client

python3-discogs-client is:

This is an active fork of the “official Discogs API client for Python”, which was deprecated by discogs.com as of June 2020. The Joalla Team decided to continue maintenance of this useful Python module. Contributions are welcome by submitting pull-requests to https://github.com/joalla/discogs_client.

python3-discogs-client enables querying the Discogs database (discogs.com) through its REST-API for information on artists, releases, labels, users, Marketplace listings, and more. It also supports OAuth 1.0a authorization, which allows changing user data such as profile information, collections, wantlists, inventory and orders.

Find usage information at https://github.com/joalla/discogs_client/blob/master/README.mkd or search and ask in the API section of the Discogs developer forum at https://www.discogs.com/forum/topic/1082

There are three methods to install python3-discogs-client on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-discogs-client Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-discogs-client

Install python3-discogs-client Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-discogs-client using apt by running the following command:

sudo apt -y install python3-discogs-client

Install python3-discogs-client Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-discogs-client using aptitude by running the following command:

sudo aptitude -y install python3-discogs-client

How To Uninstall python3-discogs-client on Kali Linux

To uninstall only the python3-discogs-client package we can use the following command:

sudo apt-get remove python3-discogs-client

Uninstall python3-discogs-client And Its Dependencies

To uninstall python3-discogs-client and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-discogs-client

Remove python3-discogs-client Configurations and Data

To remove python3-discogs-client configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-discogs-client

Remove python3-discogs-client configuration, data, and all of its dependencies

We can use the following command to remove python3-discogs-client configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-discogs-client

Dependencies

python3-discogs-client have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-discogs-client package on Kali Linux using different package management tools: apt, apt-get and aptitude.