How To Install python-duecredit on Debian 10

Learn how to install python-duecredit on Debian 10 with this tutorial. python-duecredit is Publications (and donations) tracer - Python 2.X

Introduction

In this tutorial we learn how to install python-duecredit on Debian 10.

What is python-duecredit

python-duecredit is:

duecredit is being conceived to address the problem of inadequate citation of scientific software and methods, and limited visibility of donation requests for open-source software.

It provides a simple framework (at the moment for Python only) to embed publication or other references in the original code so they are automatically collected and reported to the user at the necessary level of reference detail, i.e. only references for actually used functionality will be presented back if software provides multiple citeable implementations.

To get a sense of what duecredit is about, simply run or your analysis script with -m duecredit, e.g.

 python -m duecredit examples/example_scipy.py

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

sudo apt-get -y install python-duecredit

Install python-duecredit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-duecredit

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

sudo aptitude -y install python-duecredit

How To Uninstall python-duecredit on Debian 10

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

sudo apt-get remove python-duecredit

Uninstall python-duecredit And Its Dependencies

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

sudo apt-get -y autoremove python-duecredit

Remove python-duecredit Configurations and Data

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

sudo apt-get -y purge python-duecredit

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

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

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

Dependencies

python-duecredit have the following dependencies:

References

Summary

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