How To Install SFML on Fedora 36

In this tutorial we learn how to install SFML in Fedora 36. SFML is Simple and Fast Multimedia Library

Introduction

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

What is SFML

SFML is a portable and easy to use multimedia API written in C++. You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs.

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

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

sudo dnf -y install SFML

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

sudo yum -y install SFML

How To Uninstall SFML on Fedora 36

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

sudo dnf remove SFML

SFML Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/5aedeffcd4d433bcc9ec7aac8e57d50c210c13
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/4a329aba9eb414f4467083f355a01ca0f6a0f3
/usr/lib/.build-id/54
/usr/lib/.build-id/54/e99a8a6c8ca6be3d3ecd5dd85416973c3a721c
/usr/lib/.build-id/71
/usr/lib/.build-id/71/46f7d3b532ff4705d16752de8041f5690fbdfc
/usr/lib/.build-id/88
/usr/lib/.build-id/88/d497b3ef0bf01032cefd0f622c26142512cd71
/usr/lib64/libsfml-audio.so.2.5
/usr/lib64/libsfml-audio.so.2.5.1
/usr/lib64/libsfml-graphics.so.2.5
/usr/lib64/libsfml-graphics.so.2.5.1
/usr/lib64/libsfml-network.so.2.5
/usr/lib64/libsfml-network.so.2.5.1
/usr/lib64/libsfml-system.so.2.5
/usr/lib64/libsfml-system.so.2.5.1
/usr/lib64/libsfml-window.so.2.5
/usr/lib64/libsfml-window.so.2.5.1
/usr/share/SFML/license.md
/usr/share/SFML/readme.md

References

Summary

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


title: “How To Install SFML on Fedora 36” linkTitle: “SFML” type: “docs” description: “In this tutorial we learn how to install SFML in Fedora 36. SFML is Simple and Fast Multimedia Library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/SFML-featured.png

Introduction

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

What is SFML

SFML is a portable and easy to use multimedia API written in C++. You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs.

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

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

sudo dnf -y install SFML

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

sudo yum -y install SFML

How To Uninstall SFML on Fedora 36

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

sudo dnf remove SFML

SFML Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/a1a0bf2df108e35314d139d1387591e5c73b5c
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/5caf52a07faf328700e39337d227d5445df757
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/bad40c780cac018f451b439c4d63b666f3d66a
/usr/lib/.build-id/90
/usr/lib/.build-id/90/cd9a9a0e01d2ed418d2e0f096dce9b7a01cbdd
/usr/lib/.build-id/98
/usr/lib/.build-id/98/2c875d5fe810b821dcb1d9b7a4fd1cc3e1d788
/usr/lib/libsfml-audio.so.2.5
/usr/lib/libsfml-audio.so.2.5.1
/usr/lib/libsfml-graphics.so.2.5
/usr/lib/libsfml-graphics.so.2.5.1
/usr/lib/libsfml-network.so.2.5
/usr/lib/libsfml-network.so.2.5.1
/usr/lib/libsfml-system.so.2.5
/usr/lib/libsfml-system.so.2.5.1
/usr/lib/libsfml-window.so.2.5
/usr/lib/libsfml-window.so.2.5.1
/usr/share/SFML/license.md
/usr/share/SFML/readme.md

References

Summary

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