How To Install SDL2_gfx-devel on Fedora 36

In this tutorial we learn how to install SDL2_gfx-devel in Fedora 36. SDL2_gfx-devel is Development files for SDL2_gfx

Introduction

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

What is SDL2_gfx-devel

This package contains the files required to develop programs which use SDL2_gfx.

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

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

sudo dnf -y install SDL2_gfx-devel

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

sudo yum -y install SDL2_gfx-devel

How To Uninstall SDL2_gfx-devel on Fedora 36

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

sudo dnf remove SDL2_gfx-devel

SDL2_gfx-devel Package Contents on Fedora 36

---
title: "How To Install SDL2_gfx-devel on Fedora 36"
linkTitle: "SDL2_gfx-devel"
type: "docs"
description: "In this tutorial we learn how to install SDL2_gfx-devel in Fedora 36. SDL2_gfx-devel is Development files for SDL2_gfx"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/SDL2_gfx-devel-featured.png
---

## Introduction

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

### What is `SDL2_gfx-devel`

> This package contains the files required to develop programs which use SDL2_gfx.  

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

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

sudo dnf -y install SDL2_gfx-devel

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

sudo yum -y install SDL2_gfx-devel

How To Uninstall SDL2_gfx-devel on Fedora 36

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

sudo dnf remove SDL2_gfx-devel

SDL2_gfx-devel Package Contents on Fedora 36

/usr/include/SDL2/SDL2_framerate.h
/usr/include/SDL2/SDL2_gfxPrimitives.h
/usr/include/SDL2/SDL2_gfxPrimitives_font.h
/usr/include/SDL2/SDL2_imageFilter.h
/usr/include/SDL2/SDL2_rotozoom.h
/usr/lib/SDL2_gfx
/usr/lib/libSDL2_gfx.so
/usr/lib/pkgconfig/SDL2_gfx.pc

References

Summary

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

/usr/include/SDL2/SDL2_framerate.h /usr/include/SDL2/SDL2_gfxPrimitives.h /usr/include/SDL2/SDL2_gfxPrimitives_font.h /usr/include/SDL2/SDL2_imageFilter.h /usr/include/SDL2/SDL2_rotozoom.h /usr/lib64/SDL2_gfx /usr/lib64/libSDL2_gfx.so /usr/lib64/pkgconfig/SDL2_gfx.pc


## References

* [SDL2_gfx-devel website](http://www.ferzkopp.net/Software/SDL2_gfx-2.0/)

## Summary

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