How To Install python-cclib on Ubuntu 18.04

In this tutorial we learn how to install python-cclib on Ubuntu 18.04. python-cclib is Parsers and algorithms for computational chemistry (Python module)

Introduction

In this tutorial we learn how to install python-cclib on Ubuntu 18.04.

What is python-cclib

python-cclib is:

A Python library that provides parsers for computational chemistry log files. It also provides a platform to implement algorithms in a package-independent manner.

This package contains the Python module.

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

sudo apt-get -y install python-cclib

Install python-cclib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-cclib

Install python-cclib 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-cclib

How To Uninstall python-cclib on Ubuntu 18.04

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

sudo apt-get remove python-cclib

Uninstall python-cclib And Its Dependencies

To uninstall python-cclib and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-cclib

Remove python-cclib Configurations and Data

To remove python-cclib configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-cclib

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

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

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

References

Summary

In this tutorial we learn how to install python-cclib package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.