How To Install libjgromacs-java on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libjgromacs-java
on Ubuntu 18.04.
What is libjgromacs-java
libjgromacs-java 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.
There are three methods to install libjgromacs-java
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 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
using apt-get
by running the following command:
sudo apt-get -y install libjgromacs-java
Install libjgromacs-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjgromacs-java
using apt
by running the following command:
sudo apt -y install libjgromacs-java
Install libjgromacs-java 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
using aptitude
by running the following command:
sudo aptitude -y install libjgromacs-java
How To Uninstall libjgromacs-java on Ubuntu 18.04
To uninstall only the libjgromacs-java
package we can use the following command:
sudo apt-get remove libjgromacs-java
Uninstall libjgromacs-java And Its Dependencies
To uninstall libjgromacs-java
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
Remove libjgromacs-java Configurations and Data
To remove libjgromacs-java
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libjgromacs-java
Remove libjgromacs-java configuration, data, and all of its dependencies
We can use the following command to remove libjgromacs-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjgromacs-java
References
Summary
In this tutorial we learn how to install libjgromacs-java
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.