How To Install cfitsio on Fedora 36

In this tutorial we learn how to install cfitsio in Fedora 36. cfitsio is Library for manipulating FITS data files

#image: /images/fedora/36/cfitsio-featured.png title: “How To Install cfitsio on Fedora 36”

linkTitle: “cfitsio”

Introduction

type: “docs”

description: “In this tutorial we learn how to install cfitsio in Fedora 36. cfitsio is Library for manipulating FITS data files” In this tutorial we learn how to install cfitsio on Fedora 36.

date: “2022-08-17”

What is cfitsio

lastmod: “2022-08-17”

#image: /images/fedora/36/cfitsio-featured.png

CFITSIO is a library of C and FORTRAN subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO simplifies the task of writing software that deals with FITS files by providing an easy to use set of high-level routines that insulate the programmer from the internal complexities of the FITS file format. At the same time, CFITSIO provides many advanced features that have made it the most widely used FITS file programming interface in the astronomical community.


Introduction

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

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

Install cfitsio on Fedora 36 Using dnf

What is cfitsio

Update yum database with dnf using the following command.

CFITSIO is a library of C and FORTRAN subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO simplifies the task of writing software that deals with FITS files by providing an easy to use set of high-level routines that insulate the programmer from the internal complexities of the FITS file format. At the same time, CFITSIO provides many advanced features that have made it the most widely used FITS file programming interface in the astronomical community.

sudo dnf makecache --refresh

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

Install cfitsio on Fedora 36 Using dnf

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

Update yum database with `dnf` using the following command.

sudo dnf -y install cfitsio
```bash

sudo dnf makecache –refresh


## Install cfitsio on Fedora 36 Using yum

After updating yum database, We can install `cfitsio` using `dnf` by running the following command:
Update yum database with `yum` using the following command.


```bash
```bash
sudo dnf -y install cfitsio
sudo yum makecache --refresh


## Install cfitsio on Fedora 36 Using yum
After updating yum database, We can install `cfitsio` using `yum` by running the following command:


```bash
Update yum database with `yum` using the following command.

sudo yum -y install cfitsio
```bash

sudo yum makecache –refresh

How To Uninstall cfitsio on Fedora 36



To uninstall only the `cfitsio` package we can use the following command:
After updating yum database, We can install `cfitsio` using `yum` by running the following command:


```bash
```bash
sudo dnf remove cfitsio
sudo yum -y install cfitsio

## How To Uninstall cfitsio on Fedora 36
## cfitsio Package Contents on Fedora 36


```bash
To uninstall only the `cfitsio` package we can use the following command:

```bash
sudo dnf remove cfitsio

cfitsio Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/a003d28756b73b76f29479098338e109bb918e
/usr/lib/libcfitsio.so.9
/usr/lib/libcfitsio.so.9.4.0.0
/usr/share/doc/cfitsio
/usr/share/doc/cfitsio/License.txt
/usr/share/doc/cfitsio/README
/usr/share/doc/cfitsio/changes.txt

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/96 /usr/lib/.build-id/96/ef42281505f949cc6141de51d438dc24a145f2 /usr/lib64/libcfitsio.so.9 /usr/lib64/libcfitsio.so.9.4.0.0 /usr/share/doc/cfitsio /usr/share/doc/cfitsio/License.txt /usr/share/doc/cfitsio/README /usr/share/doc/cfitsio/changes.txt


## References

* [cfitsio website](http://heasarc.gsfc.nasa.gov/fitsio/)

## Summary

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