How To Install milia on Fedora 34

milia is C++ cosmology library C++ cosmology library

Introduction

In this tutorial we learn how to install milia on Fedora 34.

What is milia

Milia is a C++ library created to compute cosmological distances and ages in the Friedmann-Lemaître-Robertson-Walker metric. The luminosity distance is computed using elliptical functions (Kantowski, Kao, Thomas 2000). The remaining distances are computed from the luminosity distance using Hogg 1999. The age is computed following Thomas & Kantowski 2000, using also elliptical functions. milia 1.0.0 31.fc34 x86_64 55 k milia-1.0.0-31.fc34.src.rpm fedora C++ cosmology library http GPLv3+ Milia is a C++ library created to compute cosmological distances and ages in the Friedmann-Lemaître-Robertson-Walker metric. The luminosity distance is computed using elliptical functions (Kantowski, Kao, Thomas 2000). The remaining distances are computed from the luminosity distance using Hogg 1999. The age is computed following Thomas & Kantowski 2000, using also elliptical functions.

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

Install milia on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install milia

Install milia on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install milia

How To Uninstall milia on Fedora 34

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

sudo dnf remove milia

milia Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/296e1c98b532f2eb2d146aff6d44bc53326501
/usr/lib64/libmilia.so.4
/usr/lib64/libmilia.so.4.0.0
/usr/share/doc/milia
/usr/share/doc/milia/NEWS
/usr/share/doc/milia/README
/usr/share/licenses/milia
/usr/share/licenses/milia/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/020a8af4c10ec4b339e286c554e88fcb9a6554
/usr/lib/libmilia.so.4
/usr/lib/libmilia.so.4.0.0
/usr/share/doc/milia
/usr/share/doc/milia/NEWS
/usr/share/doc/milia/README
/usr/share/licenses/milia
/usr/share/licenses/milia/COPYING

References

Summary

In this tutorial we learn how to install milia on Fedora 34 using yum and dnf.