Create a RAR file in linux

Here are the steps to create a rar file in linux.

Step 1:

Install a rar package by the following command

$ sudo apt-get install rar

Step 2:

After that just typed the command to create a rar archive of a file or directory

$ sudo rar a filename.rar input

Note

filename.rar is the output file.

input is nothing but a directory.

Keep Sharing…..

Advertisements