How To Install physfs on Fedora 36

In this tutorial we learn how to install physfs in Fedora 36. physfs is Library to provide abstract access to various archives

Introduction

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

What is physfs

PhysicsFS is 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.

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

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

sudo dnf -y install physfs

title: “How To Install physfs on Fedora 36”

Install physfs on Fedora 36 Using yum

linkTitle: “physfs” type: “docs” Update yum database with yum using the following command.

description: “In this tutorial we learn how to install physfs in Fedora 36. physfs is Library to provide abstract access to various archives”

date: "2022-08-17"
sudo yum makecache --refresh
lastmod: "2022-08-17"

#image: /images/fedora/36/physfs-featured.png

After updating yum database, We can install physfs using yum by running the following command:

Introduction


sudo yum -y install physfs
In this tutorial we learn how to install `physfs` on Fedora 36.

How To Uninstall physfs on Fedora 36

What is physfs

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

PhysicsFS is 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.


sudo dnf remove physfs

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

physfs Package Contents on Fedora 36

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

sudo dnf -y install physfs

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

sudo yum -y install physfs

How To Uninstall physfs on Fedora 36

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

sudo dnf remove physfs

physfs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/f79fd29a892f9beb5321a9b8f5e5d13868fc70
/usr/lib64/libphysfs.so.1
/usr/lib64/libphysfs.so.3.0.2
/usr/share/doc/physfs
/usr/share/doc/physfs/CHANGELOG.txt
/usr/share/doc/physfs/CREDITS.txt
/usr/share/doc/physfs/TODO.txt
/usr/share/licenses/physfs
/usr/share/licenses/physfs/LICENSE.txt

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/d1 /usr/lib/.build-id/d1/b82c9ae098cee78ceb4c44ad52297a9fcdd606 /usr/lib/libphysfs.so.1 /usr/lib/libphysfs.so.3.0.2 /usr/share/doc/physfs /usr/share/doc/physfs/CHANGELOG.txt /usr/share/doc/physfs/CREDITS.txt /usr/share/doc/physfs/TODO.txt /usr/share/licenses/physfs /usr/share/licenses/physfs/LICENSE.txt


## References

* [physfs website](http://www.icculus.org/physfs/)

## Summary

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