How To Install erfa on Fedora 34

erfa is Essential Routines for Fundamental Astronomy Essential Routines for Fundamental Astronomy

Introduction

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

What is erfa

ERFA is a C library containing key algorithms for astronomy, and is based on the SOFA library published by the International Astronomical Union (IAU). erfa 2.0.0 1.fc34 x86_64 147 k erfa-2.0.0-1.fc34.src.rpm updates Essential Routines for Fundamental Astronomy https BSD ERFA is a C library containing key algorithms for astronomy, and is based on the SOFA library published by the International Astronomical Union (IAU).

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

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

sudo dnf -y install erfa

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

sudo yum -y install erfa

How To Uninstall erfa on Fedora 34

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

sudo dnf remove erfa

erfa Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/f2ab8e35fc49412ba05b7310c0b827528c56d6
/usr/lib64/liberfa.so.1
/usr/lib64/liberfa.so.1.8.0
/usr/share/doc/erfa
/usr/share/doc/erfa/INFO
/usr/share/doc/erfa/README.rst
/usr/share/licenses/erfa
/usr/share/licenses/erfa/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/72020eb2ce5b4f8d5aaa5cee83cb371dd7436e
/usr/lib/liberfa.so.1
/usr/lib/liberfa.so.1.7.2
/usr/share/doc/erfa
/usr/share/doc/erfa/INFO
/usr/share/doc/erfa/README.rst
/usr/share/licenses/erfa
/usr/share/licenses/erfa/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/26a04946855ceeb4f8cff4b101cd5e499c6023
/usr/lib/liberfa.so.1
/usr/lib/liberfa.so.1.8.0
/usr/share/doc/erfa
/usr/share/doc/erfa/INFO
/usr/share/doc/erfa/README.rst
/usr/share/licenses/erfa
/usr/share/licenses/erfa/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/a03f826986d8adbc6caa23c182ca634b96a539
/usr/lib64/liberfa.so.1
/usr/lib64/liberfa.so.1.7.2
/usr/share/doc/erfa
/usr/share/doc/erfa/INFO
/usr/share/doc/erfa/README.rst
/usr/share/licenses/erfa
/usr/share/licenses/erfa/LICENSE

References

Summary

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