How To Install kim-api on Rocky Linux 8

In this tutorial we learn how to install kim-api on Rocky Linux 8. kim-api is Open Knowledgebase of Interatomic Models KIM API

Introduction

In this tutorial we learn how to install kim-api on Rocky Linux 8.

What is kim-api

OpenKIM is an online framework for making molecular simulations reliable, reproducible, and portable. Models conforming to the KIM application programming interface work seamlessly with major simulation codes that have adopted the KIM-API standard. This package can be used to load all the files (libraries, headers, and documentation) for the KIM-API.

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

Install kim-api 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 kim-api using dnf by running the following command:

sudo dnf -y install kim-api

Install kim-api 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 kim-api using yum by running the following command:

sudo yum -y install kim-api

How To Uninstall kim-api on Rocky Linux 8

To uninstall only the kim-api package we can use the following command:

sudo dnf remove kim-api

kim-api Package Contents on Rocky Linux 8

/usr/bin/kim-api-collections-management
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/6a942f127463f8d56c1720f0b90978215fc3c5
/usr/lib/.build-id/59
/usr/lib/.build-id/59/a7dcf94af71ddcabe97376647f7dde7ef4b31f
/usr/lib/.build-id/70
/usr/lib/.build-id/70/78e71527fc048c61c2a5f54fb027a67cc5a1d7
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/c2e5099ad3719153caa34ff4b00178e4c2809b
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/7d46faa13f71518211e22db70d0d0582d360ed
/usr/lib64/libkim-api.so.2
/usr/lib64/libkim-api.so.2.2.1
/usr/libexec/kim-api
/usr/libexec/kim-api/kim-api-collections-info
/usr/libexec/kim-api/kim-api-portable-model-info
/usr/libexec/kim-api/kim-api-shared-library-test
/usr/libexec/kim-api/kim-api-simulator-model
/usr/share/bash-completion/completions/kim-api-collections-management.bash
/usr/share/doc/kim-api
/usr/share/doc/kim-api/NEWS
/usr/share/doc/kim-api/README.md
/usr/share/emacs/site-lisp/kim-api-c-style.el
/usr/share/licenses/kim-api
/usr/share/licenses/kim-api/LICENSE.CDDL
/usr/share/zsh/site-functions/_kim-api-collections-management

References

Summary

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