Skip to content Skip to sidebar Skip to footer

How to Install RAR on RHEL 8 for Efficient File Compression

Welcome to our comprehensive guide on how to install RAR on RHEL 8. In this step-by-step tutorial, we will walk you through the process of installing RAR, a powerful file compression tool, on your RHEL 8 system. By the end of this guide, you'll be able to efficiently compress and decompress files, saving valuable disk space and enhancing productivity.


Before starting, you need to prepare the RAR file that will be installed on your system.

You can download the official RAR package from its website at WinRAR. You can upload it to the server using FTP.

However, if your system has internet access, you can also download it directly to your RHEL 8 system by following these steps:

# wget

RAR installation on RHEL 8
Installing RAR on RHEL 8 - Step-by-Step Guide

Please adjust the download link based on your system architecture, whether it is 32-bit or 64-bit.

You might also like: Archive and Functions in Linux Servers


The installation process is very simple as it only involves moving the downloaded RAR or bin file from the official WinRAR website. Don't forget to extract it first using the built-in tar tool in Linux.

# tar -zxvf rarlinux-x64-622.tar.gz
# cd rar
# cp -v rar unrar /usr/local/bin/

By copying that bin file, you can already use the RAR tools.


How to Create Rar File in Linux

Here's an example of creating a RAR archive in Linux. The process is quite simple, by adding the 'a' option when executing the 'rar' command, followed by 'name_of_file.rar' and the folder to be archived.

# rar a kitsake.rar kitsake/

Create Rar File in Linux
Create Rar File in Linux

How to Open/Extract a RAR File in Linux

Simply execute the command below with the unrar x option to open or extract a RAR file while maintaining its original directory structure. It will extract in accordance with the folder structure, as seen by the command output below.

# unrar x kitsake.rar

Extract a RAR File in Linux
Extract a RAR File in Linux

Maybe that's all I can share with you guys, hopefully this article will be useful.

Thank You 

Bangkit Ade Saputra
Bangkit Ade Saputra At the end of the day, my job involves people. we're complicated, we're always changing, we have millions of things going on in our lives, and changing jobs is always a big decision.

Post a Comment for "How to Install RAR on RHEL 8 for Efficient File Compression"