How To Install chunkfs on Fedora 34

chunkfs is FUSE based filesystem that allows you to mount an arbitrary file or block device

Introduction

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

What is chunkfs

ChunkFS is a FUSE based filesystem that allows you to mount an arbitrary file or block device as a directory tree of files that each represent a chunk of user-specified size of the mounted file. The chunk size is global per mount, but at mount time any value can be specified. (If the file size isn’t a multiple of the specified chunk size, the last file in the tree simply will be smaller than the chunk size.) Only read access is supported at the moment. UnChunkFS is the inversion of ChunkFS—it allows you to mount a ChunkFS tree (or a copy of it, of course), and gives you a single file named image that has the same contents as the file or device you created the tree from by mounting it as a ChunkFS.

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

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

sudo dnf -y install chunkfs

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

sudo yum -y install chunkfs

How To Uninstall chunkfs on Fedora 34

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

sudo dnf remove chunkfs

chunkfs Package Contents on Fedora 34

/usr/bin/chunkfs
/usr/bin/unchunkfs
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/abc47822de2b0a9ba64b23df7fe433e76af076
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/74c11b0f57309e23b3194190467bf093a25340
/usr/share/doc/chunkfs
/usr/share/doc/chunkfs/README
/usr/share/doc/chunkfs/examples
/usr/share/doc/chunkfs/examples/writeoverlay.sh
/usr/share/licenses/chunkfs
/usr/share/licenses/chunkfs/COPYING
/usr/share/man/man1/chunkfs.1.gz
/usr/share/man/man1/unchunkfs.1.gz

References

Summary

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