How To Install libmmdb-dev on Debian 9

In this tutorial we learn how to install libmmdb-dev on Debian 9. libmmdb-dev is macromolecular coordinate library - development files

Introduction

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

What is libmmdb-dev

libmmdb-dev is:

MMDB is designed to assist developers in working with macromolecular coordinate files. The library handles both PDB and mmCIF format files.

The Library also features an internal binary format, portable between different platforms. This is achieved at uniformity of the Library’s interface functions, so there is no difference in handling different formats.

MMDB provides various high-level tools for working with coordinate files, including reading and writing, orthogonal-fractional transforms, generation of symmetry mates, editing the molecular structure and more.

This package contains library and header files needed for program development.

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

sudo apt-get -y install libmmdb-dev

Install libmmdb-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmmdb-dev

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

sudo aptitude -y install libmmdb-dev

How To Uninstall libmmdb-dev on Debian 9

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

sudo apt-get remove libmmdb-dev

Uninstall libmmdb-dev And Its Dependencies

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

sudo apt-get -y autoremove libmmdb-dev

Remove libmmdb-dev Configurations and Data

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

sudo apt-get -y purge libmmdb-dev

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

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

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

Dependencies

libmmdb-dev have the following dependencies:

References

Summary

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