How To Install cfitsio-devel on Fedora 36

In this tutorial we learn how to install cfitsio-devel in Fedora 36. cfitsio-devel is Headers required when building programs against cfitsio

Introduction

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

What is cfitsio-devel

Headers required when building a program against the cfitsio library.

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

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

sudo dnf -y install cfitsio-devel

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

sudo yum -y install cfitsio-devel

How To Uninstall cfitsio-devel on Fedora 36

To uninstall only the cfitsio-devel package we can use the following command:

sudo dnf remove cfitsio-devel

cfitsio-devel Package Contents on Fedora 36

---
title: "How To Install cfitsio-devel on Fedora 36"
linkTitle: "cfitsio-devel"
type: "docs"
description: "In this tutorial we learn how to install cfitsio-devel in Fedora 36. cfitsio-devel is Headers required when building programs against cfitsio"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/cfitsio-devel-featured.png
---

## Introduction

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

### What is `cfitsio-devel`

> Headers required when building a program against the cfitsio library.  

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

## Install cfitsio-devel on Fedora 36 Using dnf

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

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install cfitsio-devel

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

sudo yum -y install cfitsio-devel

How To Uninstall cfitsio-devel on Fedora 36

To uninstall only the cfitsio-devel package we can use the following command:

sudo dnf remove cfitsio-devel

cfitsio-devel Package Contents on Fedora 36

/usr/include/cfitsio
/usr/include/cfitsio/drvrsmem.h
/usr/include/cfitsio/fitsio.h
/usr/include/cfitsio/fitsio2.h
/usr/include/cfitsio/longnam.h
/usr/lib/libcfitsio.so
/usr/lib/pkgconfig/cfitsio.pc
/usr/share/doc/cfitsio-devel
/usr/share/doc/cfitsio-devel/cookbook.c
/usr/share/doc/cfitsio-devel/cookbook.f

References

  • cfitsio-devel website /usr/include/cfitsio /usr/include/cfitsio/drvrsmem.h /usr/include/cfitsio/fitsio.h /usr/include/cfitsio/fitsio2.h /usr/include/cfitsio/longnam.h /usr/lib64/libcfitsio.so /usr/lib64/pkgconfig/cfitsio.pc /usr/share/doc/cfitsio-devel /usr/share/doc/cfitsio-devel/cookbook.c /usr/share/doc/cfitsio-devel/cookbook.f

Summary

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


## References

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

## Summary

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