How To Install arj on CentOS 8

arj is Archiver for .arj files

Introduction

In this tutorial we learn how to install arj on CentOS 8.

What is arj

This package is an open source version of the arj archiver. It has been created with the intent to preserve maximum compatibility and retain the feature set of original ARJ archiver as provided by ARJ Software, Inc.

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

Install arj on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install arj

Install arj on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install arj

How To Uninstall arj on CentOS 8

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

sudo dnf remove arj

arj Package Contents on CentOS 8

/etc/rearj.cfg
/usr/bin/arj
/usr/bin/arjdisp
/usr/bin/rearj
/usr/bin/unarj
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/819445b0dc2a7302c730fc840c64fed67b74ae
/usr/lib/.build-id/60
/usr/lib/.build-id/60/b423cd8d99578076145a61c5b427905807ea81
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/472d7278cdaa86f9f39d7b6cabe48eae3ec371
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/4299f743cafc17047b50aa571d9cba53a1c403
/usr/lib64/arj
/usr/lib64/arj/arjcrypt.so
/usr/share/doc/arj
/usr/share/doc/arj/ChangeLog
/usr/share/doc/arj/rev_hist.txt
/usr/share/licenses/arj
/usr/share/licenses/arj/COPYING
/usr/share/man/man1/arj.1.gz
/usr/share/man/man1/arjdisp.1.gz
/usr/share/man/man1/rearj.1.gz
/usr/share/man/man1/unarj.1.gz

References

Summary

In this tutorial we learn how to install arj on CentOS 8 using yum and dnf.