How To Install libr12 on Fedora 36

In this tutorial we learn how to install libr12 in Fedora 36. libr12 is A library for computing integrals that arise in Kutzelnigg’s linear R12 theories

Introduction

In this tutorial we learn how to install libr12 on Fedora 36.

What is libr12

libr12 computes types integrals that appear in Kutzelnigg’s linear R12 theories for electronic structure. All linear R12 methods, such as MP2-R12, contain terms in the wave function that are linear in the inter-electronic distances r_{ij} (hence the name). Appearance of several types of two-body integrals is due to the use of the approximate resolution of the identity to reduce three- and four-body integrals to products of simpler integrals.

We can use yum or dnf to install libr12 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libr12.

Install libr12 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libr12

Install libr12 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libr12 using yum by running the following command:

sudo yum -y install libr12

How To Uninstall libr12 on Fedora 36

To uninstall only the libr12 package we can use the following command:

sudo dnf remove libr12

libr12 Package Contents on Fedora 36

---
title: "How To Install libr12 on Fedora 36"
linkTitle: "libr12"
type: "docs"
description: "In this tutorial we learn how to install libr12 in Fedora 36. libr12 is A library for computing integrals that arise in Kutzelnigg’s linear R12 theories"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libr12-featured.png
---

## Introduction

In this tutorial we learn how to install `libr12` on Fedora 36.

### What is `libr12`

> libr12 computes types integrals that appear in Kutzelnigg’s linear R12 theories for electronic structure. All linear R12 methods, such as MP2-R12, contain terms in the wave function that are linear in the inter-electronic distances r_{ij} (hence the name). Appearance of several types of two-body integrals is due to the use of the approximate resolution of the identity to reduce three- and four-body integrals to products of simpler integrals.  

We can use `yum` or `dnf` to install `libr12` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libr12.

/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/a984972fffd20f5e1162e8d73d3c6c5c8645e6
/usr/lib/libr12-stable.so.1
/usr/lib/libr12-stable.so.1.0.0
/usr/share/doc/libr12
/usr/share/doc/libr12/COPYING
/usr/share/doc/libr12/COPYING.LESSER
/usr/share/doc/libr12/LICENSE
## Install libr12 on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash

sudo dnf makecache –refresh

## References


* [libr12 website](http://sourceforge.net/p/libint)
After updating yum database, We can install `libr12` using `dnf` by running the following command:


## Summary
```bash

sudo dnf -y install libr12

In this tutorial we learn how to install libr12 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

Install libr12 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libr12 using yum by running the following command:

sudo yum -y install libr12

How To Uninstall libr12 on Fedora 36

To uninstall only the libr12 package we can use the following command:

sudo dnf remove libr12

libr12 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/5980fc1da0a99929349a9e5a4d454a200aa329
/usr/lib64/libr12-stable.so.1
/usr/lib64/libr12-stable.so.1.0.0
/usr/share/doc/libr12
/usr/share/doc/libr12/COPYING
/usr/share/doc/libr12/COPYING.LESSER
/usr/share/doc/libr12/LICENSE

References

Summary

In this tutorial we learn how to install libr12 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).