How To Install libssm-dev on Ubuntu 18.04

In this tutorial we learn how to install libssm-dev on Ubuntu 18.04. libssm-dev is macromolecular superposition library - development files

Introduction

In this tutorial we learn how to install libssm-dev on Ubuntu 18.04.

What is libssm-dev

libssm-dev is:

SSM is a macromolecular coordinate superposition library, written by Eugene Krissinel of the EBI.

The library implements the SSM algorithm of protein structure comparison in three dimensions, which includes an original procedure of matching graphs built on the protein’s secondary-structure elements, followed by an iterative three-dimensional alignment of protein backbone Calpha atoms.

The algorithm implemented by the software is described in: E. Krissinel & K. Henrick (2004) Secondary-structure matching (SSM), a new tool for fast protein structure alignment in three dimensions. Acta Crystallogr D Biol Crystallogr. 60, 2256-68.

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

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

sudo apt-get -y install libssm-dev

Install libssm-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libssm-dev

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

sudo aptitude update

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

sudo aptitude -y install libssm-dev

How To Uninstall libssm-dev on Ubuntu 18.04

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

sudo apt-get remove libssm-dev

Uninstall libssm-dev And Its Dependencies

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

sudo apt-get -y autoremove libssm-dev

Remove libssm-dev Configurations and Data

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

sudo apt-get -y purge libssm-dev

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

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

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

References

Summary

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