How To Install libghemical-dev on Debian 9

In this tutorial we learn how to install libghemical-dev on Debian 9. libghemical-dev is Molecular Modelling Library (development files)

Introduction

In this tutorial we learn how to install libghemical-dev on Debian 9.

What is libghemical-dev

libghemical-dev is:

Libghemical is the basis of Ghemical, a GNOME Molecular Modelling Application.

This package includes the static library and the header files.

There are three methods to install libghemical-dev 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 libghemical-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libghemical-dev using apt-get by running the following command:

sudo apt-get -y install libghemical-dev

Install libghemical-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghemical-dev

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

sudo aptitude -y install libghemical-dev

How To Uninstall libghemical-dev on Debian 9

To uninstall only the libghemical-dev package we can use the following command:

sudo apt-get remove libghemical-dev

Uninstall libghemical-dev And Its Dependencies

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

sudo apt-get -y autoremove libghemical-dev

Remove libghemical-dev Configurations and Data

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

sudo apt-get -y purge libghemical-dev

Remove libghemical-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libghemical-dev

Dependencies

libghemical-dev have the following dependencies:

References

Summary

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