How To Install sdljava on Fedora 34
Introduction
In this tutorial we learn how to install sdljava
on Fedora 34.
What is sdljava
sdljava is a Java binding to the SDL API being developed by Ivan Ganza. sdljava provides the ability to write games and other applications from the java programming language. sdljava is designed to be fast, efficient and easy to use.
We can use yum
or dnf
to install sdljava
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sdljava.
Install sdljava 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 sdljava
using dnf
by running the following command:
sudo dnf -y install sdljava
Install sdljava 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 sdljava
using yum
by running the following command:
sudo yum -y install sdljava
How To Uninstall sdljava on Fedora 34
To uninstall only the sdljava
package we can use the following command:
sudo dnf remove sdljava
sdljava Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/16a630ee9c7883e5130947147f23454be5df5a
/usr/lib/.build-id/31
/usr/lib/.build-id/31/23246b655e0d892cd759312703d8506a18119e
/usr/lib/.build-id/51
/usr/lib/.build-id/51/2c0211337e2e8685d1b7931158fc28de551555
/usr/lib/.build-id/67
/usr/lib/.build-id/67/2da22dbd56638fca4ff822b5d492ce07a5cabf
/usr/lib/.build-id/81
/usr/lib/.build-id/81/d9cfa7d340ef9463c86a03076b81282efadff4
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/1865de60292e9cbfec66ef38fbc7af535144fd
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/566b941e81c19fb7887498eaa4860fc34f49cd
/usr/lib/java/sdljava.jar
/usr/lib64/sdljava
/usr/lib64/sdljava/libftgljava.so
/usr/lib64/sdljava/libgljava.so
/usr/lib64/sdljava/libsdljava.so
/usr/lib64/sdljava/libsdljava_gfx.so
/usr/lib64/sdljava/libsdljava_image.so
/usr/lib64/sdljava/libsdljava_mixer.so
/usr/lib64/sdljava/libsdljava_ttf.so
/usr/share/doc/sdljava
/usr/share/doc/sdljava/CHANGES_0_9_1
/usr/share/doc/sdljava/README
/usr/share/doc/sdljava/TODO
References
Summary
In this tutorial we learn how to install sdljava
on Fedora 34 using yum and dnf.