How To Install kim-api on CentOS 7

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

Introduction

In this tutorial we learn how to install kim-api on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install kim-api.

Install kim-api on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install kim-api

Install kim-api on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install kim-api

How To Uninstall kim-api on CentOS 7

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

sudo dnf remove kim-api

References

Summary

In this tutorial we learn how to install kim-api on CentOS 7 using yum and dnf.