How To Install astrometry on Fedora 34

astrometry is Blind astrometric calibration of arbitrary astronomical images

Introduction

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

What is astrometry

The astrometry engine will take any image and return the astrometry world coordinate system (WCS), a standards-based description of the transformation between image coordinates and sky coordinates. Other tools included in the astrometry package can do much more, like plotting astronomic information over solved images, convertion utilities or generate statistics from FITS images.

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

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

sudo dnf -y install astrometry

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

sudo yum -y install astrometry

How To Uninstall astrometry on Fedora 34

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

sudo dnf remove astrometry

astrometry Package Contents on Fedora 34

/etc/astrometry.cfg
/usr/bin/an-fitstopnm
/usr/bin/an-pnmtofits
/usr/bin/astrometry-engine
/usr/bin/astrometry-tablist
/usr/bin/astrometry-tabmerge
/usr/bin/build-astrometry-index
/usr/bin/degtohms
/usr/bin/downsample-fits
/usr/bin/fit-wcs
/usr/bin/fits-column-merge
/usr/bin/fits-flip-endian
/usr/bin/fits-guess-scale
/usr/bin/fitscopy
/usr/bin/fitsgetext
/usr/bin/fitsverify
/usr/bin/get-healpix
/usr/bin/get-wcs
/usr/bin/hmstodeg
/usr/bin/hpsplit
/usr/bin/image2pnm
/usr/bin/image2xy
/usr/bin/imarith
/usr/bin/imcopy
/usr/bin/imstat
/usr/bin/listhead
/usr/bin/liststruc
/usr/bin/merge-columns
/usr/bin/modhead
/usr/bin/new-wcs
/usr/bin/pad-file
/usr/bin/plot-constellations
/usr/bin/plotquad
/usr/bin/plotxy
/usr/bin/query-starkd
/usr/bin/removelines
/usr/bin/solve-field
/usr/bin/startree
/usr/bin/subtable
/usr/bin/tabsort
/usr/bin/text2fits
/usr/bin/uniformize
/usr/bin/votabletofits
/usr/bin/wcs-grab
/usr/bin/wcs-match
/usr/bin/wcs-pv2sip
/usr/bin/wcs-rd2xy
/usr/bin/wcs-resample
/usr/bin/wcs-to-tan
/usr/bin/wcs-xy2rd
/usr/bin/wcsinfo
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/5a9c53c695a11861bf89ac63cf13fe1ea9d9b7
/usr/lib/.build-id/04
/usr/lib/.build-id/04/3e08d27a08cea9f59116bb5606beccf7e54b08
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/079bbc556813477a2af464300f23d1425b85d4
/usr/lib/.build-id/25
/usr/lib/.build-id/25/d4b19b3ff3b0d35b8ca8a3ab68a64e51bcabe7
/usr/lib/.build-id/33
/usr/lib/.build-id/33/5bcf4da8bc61794ee93c50837d0b73ac693e05
/usr/lib/.build-id/35
/usr/lib/.build-id/35/756b259da36b3ad52bc2c3aa540f7f8074da8f
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/a9ad3385e7917a3a19a0f8d42f8b2218dd8b8c
/usr/lib/.build-id/41
/usr/lib/.build-id/41/f2db8f5fa0ba31c7b61b5ec4e77d814668e242
/usr/lib/.build-id/45
/usr/lib/.build-id/45/b700104d4a34f17dee8173c079fd43576ee7ec
/usr/lib/.build-id/49
/usr/lib/.build-id/49/1cf06cc314e6516eeffaf9aa10c8241ec7e734
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/9f6a8937af6a00ee5bf817692fcc566806f1aa
/usr/lib/.build-id/50
/usr/lib/.build-id/50/2a631ebe658b979c4341080dc7999d6238174d
/usr/lib/.build-id/59
/usr/lib/.build-id/59/a5b57d9dd6389b9791a5f111779c3b55b9e77d
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/0aaf453edc9f3298c13c66b57b3de987d28e7a
/usr/lib/.build-id/67
/usr/lib/.build-id/67/71ab027732716150fa2aaa343b88236e16939c
/usr/lib/.build-id/69
/usr/lib/.build-id/69/3af0eff8f327aa040ee3f447feeccca210ae85
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/833cf98eca0e21c5ef3fb872843cd35791742a
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/16687b2aa85a80444d22c5d7fb34f3e4c2ccb4
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/fd7f5151176fab1810534ec88118e07c8ae0c8
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/e51d22ff51e978ea4ac60030f5ba7d51803f48
/usr/lib/.build-id/80
/usr/lib/.build-id/80/f1c1bd266da78f0d6d11737b8d3a7f631e2578
/usr/lib/.build-id/81
/usr/lib/.build-id/81/be5c490d96a1121847d7c0bad1bec0cda30796
/usr/lib/.build-id/87
/usr/lib/.build-id/87/fe05ea9e64262cb1603fdcd0f9607b697f59fe
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/e35a2ab823244829aa18a1cbcc6451f5af7e10
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/64540e8710a0d0f5ed2c9e24ce3b57ee45f8bf
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/5585174bf5e9b777fe3f6dac4662be9cb67698
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/99e8ce81be6841d3015187f75c20743cf98b34
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/346f5627ee0560b138afb23f02ee32c247d235
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/46291c779cf2c53db68418bcb0036e7e278491
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/8482932b64847919dd8170a144c05cf5a9d7d7
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/3c1cdf0ec624385e250d7b3839a719a238e6fa
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/63f2e0c5c870c1cf97a6cd1731c2fd91ec63b3
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/fd6d5fb6be9845b75c0dd01de77d26a2813928
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/a359e57b4781d47255bd332d123f40af975833
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e0180ef7799c9b157525ac75ac45ff8c0aadab
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/75a741b1f244b0ca912a82bdfcbae15e4f02ba
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/7753f7086dbc5a5bc3e0684840fe6ba2cfd5ec
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/e57aebc34f458e513114c1606127def757f015
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/3f1aa89530b23551b569398f70e2821e9250cc
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/7d4de095d14d0cdfb93c95177757560699690c
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/f8daac3ac60a1b6baa8c1d730a020b3e57adb8
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/6f5f9de96e749f9a3d1f86e37e781f3dce49eb
/usr/share/astrometry
/usr/share/astrometry/data
/usr/share/astrometry/examples
/usr/share/doc/astrometry
/usr/share/doc/astrometry/CREDITS
/usr/share/doc/astrometry/README.md
/usr/share/licenses/astrometry
/usr/share/licenses/astrometry/LICENSE
/usr/share/man/man1/an-fitstopnm.1.gz
/usr/share/man/man1/an-pnmtofits.1.gz
/usr/share/man/man1/astrometry-engine.1.gz
/usr/share/man/man1/build-astrometry-index.1.gz
/usr/share/man/man1/coadd.1.gz
/usr/share/man/man1/downsample-fits.1.gz
/usr/share/man/man1/fit-wcs.1.gz
/usr/share/man/man1/fits-flip-endian.1.gz
/usr/share/man/man1/fits-guess-scale.1.gz
/usr/share/man/man1/fitsgetext.1.gz
/usr/share/man/man1/get-healpix.1.gz
/usr/share/man/man1/get-wcs.1.gz
/usr/share/man/man1/hpsplit.1.gz
/usr/share/man/man1/image2xy.1.gz
/usr/share/man/man1/new-wcs.1.gz
/usr/share/man/man1/pad-file.1.gz
/usr/share/man/man1/plot-constellations.1.gz
/usr/share/man/man1/plotquad.1.gz
/usr/share/man/man1/plotxy.1.gz
/usr/share/man/man1/query-starkd.1.gz
/usr/share/man/man1/solve-field.1.gz
/usr/share/man/man1/subtable.1.gz
/usr/share/man/man1/tabsort.1.gz
/usr/share/man/man1/wcs-grab.1.gz
/usr/share/man/man1/wcs-match.1.gz
/usr/share/man/man1/wcs-pv2sip.1.gz
/usr/share/man/man1/wcs-rd2xy.1.gz
/usr/share/man/man1/wcs-resample.1.gz
/usr/share/man/man1/wcs-to-tan.1.gz
/usr/share/man/man1/wcs-xy2rd.1.gz
/usr/share/man/man1/wcsinfo.1.gz

References

Summary

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