How To Install psfex on Fedora 34

psfex is Model the Point Spread Function from FITS images

Introduction

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

What is psfex

PSFEx (“PSF Extractor”) extracts models of the Point Spread Function (PSF) from FITS images processed with SExtractor and measures the quality of images. The generated PSF models can be used for model-fitting photometry or morphological analyses.

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

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

sudo dnf -y install psfex

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

sudo yum -y install psfex

How To Uninstall psfex on Fedora 34

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

sudo dnf remove psfex

psfex Package Contents on Fedora 34

/usr/bin/psfex
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/ee3baf31314fa668717c9eb264320a4b95da50
/usr/share/doc/psfex
/usr/share/doc/psfex/AUTHORS
/usr/share/doc/psfex/HISTORY
/usr/share/doc/psfex/README
/usr/share/doc/psfex/THANKS
/usr/share/doc/psfex/psfex.pdf
/usr/share/licenses/psfex
/usr/share/licenses/psfex/COPYRIGHT
/usr/share/licenses/psfex/LICENSE
/usr/share/man/man1/psfex.1.gz
/usr/share/psfex
/usr/share/psfex/default.conv
/usr/share/psfex/default.psfex
/usr/share/psfex/prepsfex.param
/usr/share/psfex/prepsfex.sex
/usr/share/psfex/psfex.xsl

References

Summary

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