How To Install gromacs-libs on Rocky Linux 8

In this tutorial we learn how to install gromacs-libs on Rocky Linux 8. gromacs-libs is GROMACS shared libraries

Introduction

In this tutorial we learn how to install gromacs-libs on Rocky Linux 8.

What is gromacs-libs

GROMACS is a versatile and extremely well optimized package to perform molecular dynamics computer simulations and subsequent trajectory analysis. It is developed for bio-molecules like proteins, but the extremely high performance means it is used also in several other field like polymer chemistry and solid state physics. This package contains libraries needed for operation of GROMACS.

We can use yum or dnf to install gromacs-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gromacs-libs.

Install gromacs-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gromacs-libs using dnf by running the following command:

sudo dnf -y install gromacs-libs

Install gromacs-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gromacs-libs using yum by running the following command:

sudo yum -y install gromacs-libs

How To Uninstall gromacs-libs on Rocky Linux 8

To uninstall only the gromacs-libs package we can use the following command:

sudo dnf remove gromacs-libs

gromacs-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/73f5640724debf4d1c41950629f1a321f0aae2
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/8dccf057173f7bf003a30d3313e4c10486d69c
/usr/lib64/libgromacs.so.4
/usr/lib64/libgromacs.so.4.0.0
/usr/lib64/libgromacs_d.so.4
/usr/lib64/libgromacs_d.so.4.0.0

References

Summary

In this tutorial we learn how to install gromacs-libs on Rocky Linux 8 using yum and dnf.