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.
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. https://saweria.co/habibzain https://ko-fi.com/habibzain
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.