How To Install sdl12-compat on Fedora 36
Introduction
In this tutorial we learn how to install sdl12-compat
on Fedora 36.
What is sdl12-compat
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device. This code is a compatibility layer; it provides a binary-compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer.
We can use yum
or dnf
to install sdl12-compat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sdl12-compat.
Install sdl12-compat 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 sdl12-compat
using dnf
by running the following command:
sudo dnf -y install sdl12-compat
Install sdl12-compat 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 sdl12-compat
using yum
by running the following command:
sudo yum -y install sdl12-compat
How To Uninstall sdl12-compat on Fedora 36
To uninstall only the sdl12-compat
package we can use the following command:
sudo dnf remove sdl12-compat
sdl12-compat Package Contents on Fedora 36
---
title: "How To Install sdl12-compat on Fedora 36"
linkTitle: "sdl12-compat"
type: "docs"
description: "In this tutorial we learn how to install sdl12-compat in Fedora 36. sdl12-compat is SDL 1.2 runtime compatibility library using SDL 2.0"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/sdl12-compat-featured.png
---
## Introduction
In this tutorial we learn how to install `sdl12-compat` on Fedora 36.
### What is `sdl12-compat`
> Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device. This code is a compatibility layer; it provides a binary-compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer.
We can use `yum` or `dnf` to install `sdl12-compat` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sdl12-compat.
## Install sdl12-compat 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 sdl12-compat
using dnf
by running the following command:
sudo dnf -y install sdl12-compat
Install sdl12-compat 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 sdl12-compat
using yum
by running the following command:
sudo yum -y install sdl12-compat
How To Uninstall sdl12-compat on Fedora 36
To uninstall only the sdl12-compat
package we can use the following command:
sudo dnf remove sdl12-compat
sdl12-compat Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/8a9a5f961da7ea0dc8d22623a402ae0e1b1177
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.1.2.50
/usr/share/doc/sdl12-compat
/usr/share/doc/sdl12-compat/BUGS.txt
/usr/share/doc/sdl12-compat/README.md
/usr/share/licenses/sdl12-compat
/usr/share/licenses/sdl12-compat/LICENSE.txt
References
Summary
In this tutorial we learn how to install sdl12-compat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/fc /usr/lib/.build-id/fc/6df625251dbbddafbdf10ac0963ceaca9c1f74 /usr/lib64/libSDL-1.2.so.0 /usr/lib64/libSDL-1.2.so.1.2.50 /usr/share/doc/sdl12-compat /usr/share/doc/sdl12-compat/BUGS.txt /usr/share/doc/sdl12-compat/README.md /usr/share/licenses/sdl12-compat /usr/share/licenses/sdl12-compat/LICENSE.txt
## References
* [sdl12-compat website](https://github.com/libsdl-org/sdl12-compat)
## Summary
In this tutorial we learn how to install `sdl12-compat` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).