How To Install libpal on Fedora 36

In this tutorial we learn how to install libpal in Fedora 36. libpal is Positional Astronomy Library

Introduction

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

What is libpal

The PAL library is a partial re-implementation of Pat Wallace’s popular SLALIB library written in C using a Gnu GPL license and layered on top of the IAU’s SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick to the SLA C API where possible although palObs() has a more C-like API than the equivalent slaObs() function. In most cases it is enough to simply change the function prefix of a routine in order to link against PAL rather than SLALIB. Routines calling SOFA use modern nutation and precession models so will return slightly different answers than native SLALIB. PAL functions not available in SOFA were ported from the Fortran version of SLALIB that ships as part of the Starlink software and uses a GPL licence.

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

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

sudo dnf -y install libpal

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

sudo yum -y install libpal

How To Uninstall libpal on Fedora 36

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

sudo dnf remove libpal

libpal Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0b5f0ed4007a3afacd1a969ca2a39d1bd4bf20
/usr/lib/libpal.so.0
/usr/lib/libpal.so.0.0.0
/usr/share/doc/libpal
/usr/share/doc/libpal/README.md
/usr/share/doc/libpal/pal.news
/usr/share/licenses/libpal
/usr/share/licenses/libpal/COPYING
/usr/share/licenses/libpal/COPYING.LESSER

References

Summary

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


title: “How To Install libpal on Fedora 36” linkTitle: “libpal” type: “docs” description: “In this tutorial we learn how to install libpal in Fedora 36. libpal is Positional Astronomy Library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libpal-featured.png

Introduction

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

What is libpal

The PAL library is a partial re-implementation of Pat Wallace’s popular SLALIB library written in C using a Gnu GPL license and layered on top of the IAU’s SOFA library (or the BSD-licensed ERFA) where appropriate. PAL attempts to stick to the SLA C API where possible although palObs() has a more C-like API than the equivalent slaObs() function. In most cases it is enough to simply change the function prefix of a routine in order to link against PAL rather than SLALIB. Routines calling SOFA use modern nutation and precession models so will return slightly different answers than native SLALIB. PAL functions not available in SOFA were ported from the Fortran version of SLALIB that ships as part of the Starlink software and uses a GPL licence.

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

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

sudo dnf -y install libpal

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

sudo yum -y install libpal

How To Uninstall libpal on Fedora 36

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

sudo dnf remove libpal

libpal Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/4aec4f58ed26e97697363fa53cddac76563420
/usr/lib64/libpal.so.0
/usr/lib64/libpal.so.0.0.0
/usr/share/doc/libpal
/usr/share/doc/libpal/README.md
/usr/share/doc/libpal/pal.news
/usr/share/licenses/libpal
/usr/share/licenses/libpal/COPYING
/usr/share/licenses/libpal/COPYING.LESSER

References

Summary

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