How To Install jfsutils on Kali Linux

In this tutorial we learn how to install jfsutils on Kali Linux. jfsutils is utilities for managing the JFS filesystem

Introduction

In this tutorial we learn how to install jfsutils on Kali Linux.

What is jfsutils

jfsutils is:

Utilities for managing IBM’s Journaled File System (JFS) under Linux.

IBM’s journaled file system technology, currently used in IBM enterprise servers, is designed for high-throughput server environments, key to running intranet and other high-performance e-business file servers.

The following utilities are available:

  • fsck.jfs - initiate 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.

There are three methods to install jfsutils on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install jfsutils Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install jfsutils using apt-get by running the following command:

sudo apt-get -y install jfsutils

Install jfsutils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install jfsutils using apt by running the following command:

sudo apt -y install jfsutils

Install jfsutils Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install jfsutils using aptitude by running the following command:

sudo aptitude -y install jfsutils

How To Uninstall jfsutils on Kali Linux

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

sudo apt-get remove jfsutils

Uninstall jfsutils And Its Dependencies

To uninstall jfsutils and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove jfsutils

Remove jfsutils Configurations and Data

To remove jfsutils configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge jfsutils

Remove jfsutils configuration, data, and all of its dependencies

We can use the following command to remove jfsutils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge jfsutils

Dependencies

jfsutils have the following dependencies:

References

Summary

In this tutorial we learn how to install jfsutils package on Kali Linux using different package management tools: apt, apt-get and aptitude.