How To Install mingw64-physfs on Fedora 36
Introduction
In this tutorial we learn how to install mingw64-physfs
on Fedora 36.
What is mingw64-physfs
MinGW compiled PhysicsFS, a library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3’s file subsystem. The programmer defines a “write directory” on the physical filesystem. No file writing done through the PhysicsFS API can leave that write directory, for security. For example, an embedded scripting language cannot write outside of this path if it uses PhysFS for all of its I/O, which means that untrusted scripts can run more safely. Symbolic links can be disabled as well, for added safety. For file reading, the programmer lists directories and archives that form a “search path”. Once the search path is defined, it becomes a single, transparent hierarchical filesystem. This makes for easy access to ZIP files in the same way as you access a file directly on the disk, and it makes it easy to ship a new archive that will override a previous archive on a per-file basis. Finally, PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available, the user’s home directory, where in the real filesystem your program is running, etc. Compiled for the Win64 target.
We can use yum
or dnf
to install mingw64-physfs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-physfs.
Install mingw64-physfs 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 mingw64-physfs
using dnf
by running the following command:
sudo dnf -y install mingw64-physfs
Install mingw64-physfs 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 mingw64-physfs
using yum
by running the following command:
sudo yum -y install mingw64-physfs
How To Uninstall mingw64-physfs on Fedora 36
To uninstall only the mingw64-physfs
package we can use the following command:
sudo dnf remove mingw64-physfs
mingw64-physfs Package Contents on Fedora 36
/usr/share/doc/CHANGELOG.txt
/usr/share/doc/CREDITS.txt
/usr/share/doc/LICENSE.txt
/usr/share/doc/TODO.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libphysfs.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/physfs.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libphysfs.dll.a
References
Summary
In this tutorial we learn how to install mingw64-physfs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).