How To Install jfsutils on Fedora 34

jfsutils is Utilities for managing the JFS filesystem

Introduction

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

What is jfsutils

The jfsutils package contains a number of utilities for creating, checking, modifying, and correcting any inconsistencies in JFS filesystems. The following utilities are available replay of the JFS transaction log, and check and repair a JFS formatted device; logdump - dump a JFS formatted device’s journal log; logredo - “replay” a JFS formatted device’s journal log; mkfs.jfs - create a JFS formatted partition; xchkdmp - dump the contents of a JFS fsck log file created with xchklog; xchklog - extract a log from the JFS fsck workspace into a file; xpeek - shell-type JFS file system editor.

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

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

sudo dnf -y install jfsutils

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

sudo yum -y install jfsutils

How To Uninstall jfsutils on Fedora 34

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

sudo dnf remove jfsutils

jfsutils Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/6aad48100bdd4ec8e14771eee6a1e53b4769a7
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/f6154b5800d3bf7f33f8cf5c62a870523fefc8
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/7c9ef1dfcecf32ce4a73fb97915449d58a176a
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/106270c5737029a81a5cecd8c950db8d710681
/usr/lib/.build-id/a0/106270c5737029a81a5cecd8c950db8d710681.1
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/86b8c122a96f30268b0b7ad0a3a3aca5367799
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/e065477839ed75c3ac4342745de3964ab83c61
/usr/lib/.build-id/e4/e065477839ed75c3ac4342745de3964ab83c61.1
/usr/sbin/fsck.jfs
/usr/sbin/jfs_debugfs
/usr/sbin/jfs_fsck
/usr/sbin/jfs_fscklog
/usr/sbin/jfs_logdump
/usr/sbin/jfs_mkfs
/usr/sbin/jfs_tune
/usr/sbin/mkfs.jfs
/usr/share/doc/jfsutils
/usr/share/doc/jfsutils/AUTHORS
/usr/share/doc/jfsutils/COPYING
/usr/share/doc/jfsutils/ChangeLog
/usr/share/doc/jfsutils/NEWS
/usr/share/man/man8/fsck.jfs.8.gz
/usr/share/man/man8/jfs_debugfs.8.gz
/usr/share/man/man8/jfs_fsck.8.gz
/usr/share/man/man8/jfs_fscklog.8.gz
/usr/share/man/man8/jfs_logdump.8.gz
/usr/share/man/man8/jfs_mkfs.8.gz
/usr/share/man/man8/jfs_tune.8.gz
/usr/share/man/man8/mkfs.jfs.8.gz

References

Summary

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