How To Install python-cinfony on Debian 9

In this tutorial we learn how to install python-cinfony on Debian 9. python-cinfony is Python abstraction layer to cheminformatics toolkits

Introduction

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

What is python-cinfony

python-cinfony is:

Cinfoy provides a common Python interface to various cheminformatics toolkits. This makes it possible to use the complementary features of cheminformatics toolktis using a common interface. If functionality is provided by more than one toolkit, the Cinfony user can choose the implementation they prefer.

Cinfony supports the following toolkits:

  • OpenBabel
  • RDKit
  • CDK
  • Indigo

Cinfony also includes the Opsin module for translating IUPAC names to chemical data and the Webel web services module.

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

sudo apt-get -y install python-cinfony

Install python-cinfony Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-cinfony

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

sudo aptitude -y install python-cinfony

How To Uninstall python-cinfony on Debian 9

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

sudo apt-get remove python-cinfony

Uninstall python-cinfony And Its Dependencies

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

sudo apt-get -y autoremove python-cinfony

Remove python-cinfony Configurations and Data

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

sudo apt-get -y purge python-cinfony

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

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

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

Dependencies

python-cinfony have the following dependencies:

References

Summary

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