How To Install libjgromacs-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libjgromacs-java-doc on Ubuntu 18.04. libjgromacs-java-doc is library for molecular dynamics trajectory analysis (documentation)

Introduction

In this tutorial we learn how to install libjgromacs-java-doc on Ubuntu 18.04.

What is libjgromacs-java-doc

libjgromacs-java-doc is:

JGromacs is a Java library designed to facilitate the development of cross-platform analysis applications for Molecular Dynamics (MD) simulations. The package contains parsers for file formats applied by GROMACS (GROningen MAchine for Chemical Simulations), one of the most widely used MD simulation packages.

JGromacs provides a multilevel object-oriented representation of simulation data to integrate and interconvert sequence, structure and dynamics information. In addititon, a basic analysis toolkit is included in the package. The programmer is also provided with simple tools (e.g. XML-based configuration) to create applications with a user interface resembling the command-line UI of Gromacs applications.

This package contains the documentation for libjgromacs-java.

There are three methods to install libjgromacs-java-doc 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 libjgromacs-java-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install libjgromacs-java-doc using apt-get by running the following command:

sudo apt-get -y install libjgromacs-java-doc

Install libjgromacs-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjgromacs-java-doc using apt by running the following command:

sudo apt -y install libjgromacs-java-doc

Install libjgromacs-java-doc 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 libjgromacs-java-doc using aptitude by running the following command:

sudo aptitude -y install libjgromacs-java-doc

How To Uninstall libjgromacs-java-doc on Ubuntu 18.04

To uninstall only the libjgromacs-java-doc package we can use the following command:

sudo apt-get remove libjgromacs-java-doc

Uninstall libjgromacs-java-doc And Its Dependencies

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

sudo apt-get -y autoremove libjgromacs-java-doc

Remove libjgromacs-java-doc Configurations and Data

To remove libjgromacs-java-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjgromacs-java-doc

Remove libjgromacs-java-doc configuration, data, and all of its dependencies

We can use the following command to remove libjgromacs-java-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjgromacs-java-doc

References

Summary

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