How To Install mgltools-pmv on Ubuntu 18.04

In this tutorial we learn how to install mgltools-pmv on Ubuntu 18.04. mgltools-pmv is Python-based Molecular Viewer

Introduction

In this tutorial we learn how to install mgltools-pmv on Ubuntu 18.04.

What is mgltools-pmv

mgltools-pmv is:

This package is part of the mgltools set of Python libraries which provide an infrastructure for the analysis of protein structures and their docking of chemical compounds.

It provides a complete molecular viewer of protein structures and their ligands.

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

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

sudo apt-get update

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

sudo apt-get -y install mgltools-pmv

Install mgltools-pmv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mgltools-pmv

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

sudo aptitude -y install mgltools-pmv

How To Uninstall mgltools-pmv on Ubuntu 18.04

To uninstall only the mgltools-pmv package we can use the following command:

sudo apt-get remove mgltools-pmv

Uninstall mgltools-pmv And Its Dependencies

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

sudo apt-get -y autoremove mgltools-pmv

Remove mgltools-pmv Configurations and Data

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

sudo apt-get -y purge mgltools-pmv

Remove mgltools-pmv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mgltools-pmv

References

Summary

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