habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Install Winrar Linux from Source

1 min read

Hi Dude, today install winrar on linux from source tar ball. By default linux distro installation not bundling with WinRAR. WinRAR is tool for compress and packaging folder that not free. There is a license that must be paid to get the full version (not trial) of WinRAR. Version open source is zip, tgz, tar.

In managing mail servers or smtp servers sometimes we get email attachments with the extension .rar, the mail server cannot check or scan the contents of the .rar file. That’s why we need to install WinRAR to be able to extract and the mail server can check the contents of the attachetn .rar. In order to be detected the contents of the .rar attachment contain malware, dangerous or safe files.

Download from source https://www.rarlab.com/download.htm

[habibza@mx-2 habibza]# wget https://www.rarlab.com/rar/rarlinux-x64-612.tar.gz

--2022-07-11 15:04:15--  https://www.rarlab.com/rar/rarlinux-x64-612.tar.gz
Resolving www.rarlab.com (www.rarlab.com)... 51.195.68.162
Connecting to www.rarlab.com (www.rarlab.com)|51.195.68.162|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 604520 (590K) [application/x-gzip]
Saving to: ‘rarlinux-x64-612.tar.gz’

rarlinux-x64-612.tar.gz                         100%[====================================================================================================>] 590.35K   307KB/s    in 1.9s

2022-07-11 15:04:18 (307 KB/s) - ‘rarlinux-x64-612.tar.gz’ saved [604520/604520]
[habibza@mx-2 habibza]# ls
rarlinux-x64-612.tar.gz
[root@mx-2 abeb]# tar -zxvf rarlinux-x64-612.tar.gz
rar/
rar/unrar
rar/acknow.txt
rar/whatsnew.txt
rar/order.htm
rar/readme.txt
rar/rar.txt
rar/makefile
rar/default.sfx
rar/rar
rar/rarfiles.lst
rar/license.txt
[habibza@mx-2]# cd rar
[habibza@mx-2 rar]# make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
[habibza@mx-2 rar]# make install
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib

Lets type rar or unrar, and you will get command had installed.

See also  Easy Unzip Command Linux

That is article about install winrar linux. If you found this article useful, please leave a comment. I would really appreciate it.


Let's Buy Me Coffee.

Buy Me a Coffee at ko-fi.com

https://saweria.co/habibzain
https://ko-fi.com/habibzain
habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Centos Failed Update Kernel

Today I did a kernel update on my server with Centos 7 OS. At the end of the update process, I found a kernel...
habibzain
1 min read

Easy Fix Missing mirrorlist http://mirrorlist.centos.org on CentOS 7

When running yum update or command that utilize the yum system, errors similar to the following are produced: If you’re encountering issues with the...
habibzain
1 min read

Easy Create Laravel Project with Composer

Requirement Laravel, a popular PHP framework, is renowned for its elegant syntax and robust features, making it a top choice for web developers. One...
habibzain
1 min read

One Reply to “Install Winrar Linux from Source”

  1. Thank you so much Habibzain. I was using yum install and many other commands to install Winrar but most of were failing.

    You saved my time.

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox