How To Install SDL_net on Fedora 34

SDL_net is SDL portable network library SDL portable network library

Introduction

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

What is SDL_net

This is a portable network library for use with SDL. SDL_net 1.2.8 19.fc34 x86_64 20 k SDL_net-1.2.8-19.fc34.src.rpm fedora SDL portable network library http LGPLv2+ This is a portable network library for use with SDL.

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

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

sudo dnf -y install SDL_net

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

sudo yum -y install SDL_net

How To Uninstall SDL_net on Fedora 34

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

sudo dnf remove SDL_net

SDL_net Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/5cf80c8ab6a307274d3dc3bfc7e5c5f9a7d361
/usr/lib/libSDL_net-1.2.so.0
/usr/lib/libSDL_net-1.2.so.0.8.0
/usr/share/doc/SDL_net
/usr/share/doc/SDL_net/CHANGES
/usr/share/doc/SDL_net/COPYING
/usr/share/doc/SDL_net/README
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/a9a6e0bee1e4601712d10a92e5fa9dbe87e345
/usr/lib64/libSDL_net-1.2.so.0
/usr/lib64/libSDL_net-1.2.so.0.8.0
/usr/share/doc/SDL_net
/usr/share/doc/SDL_net/CHANGES
/usr/share/doc/SDL_net/COPYING
/usr/share/doc/SDL_net/README

References

Summary

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