How To Install libkim-api-doc on Ubuntu 20.04

In this tutorial we learn how to install libkim-api-doc on Ubuntu 20.04. libkim-api-doc is Documentation and examples for KIM-API

Introduction

In this tutorial we learn how to install libkim-api-doc on Ubuntu 20.04.

What is libkim-api-doc

libkim-api-doc is:

The KIM API is an Application Programming Interface for atomistic simulations. The API provides a standard for exchanging information between atomistic simulation codes (molecular dynamics, molecular statics, lattice dynamics, Monte Carlo, etc.) and interatomic models (potentials or force fields). It also includes a set of library routines for using the API with bindings for:

FORTRAN 77, Fortran 90/95, Fortran 2003 C, C++

Atomistic simulation codes that support the KIM API work seamlessly with the KIM-compliant interatomic models (KIM Models) distributed on this website. The interface is computationally efficient and often requires relatively minor changes to existing codes.

This package contains documentation and examples

There are three methods to install libkim-api-doc on Ubuntu 20.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 libkim-api-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 libkim-api-doc using apt-get by running the following command:

sudo apt-get -y install libkim-api-doc

Install libkim-api-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libkim-api-doc

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

sudo aptitude -y install libkim-api-doc

How To Uninstall libkim-api-doc on Ubuntu 20.04

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

sudo apt-get remove libkim-api-doc

Uninstall libkim-api-doc And Its Dependencies

To uninstall libkim-api-doc and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libkim-api-doc

Remove libkim-api-doc Configurations and Data

To remove libkim-api-doc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libkim-api-doc

Remove libkim-api-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libkim-api-doc

References

Summary

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