How to install WinRAR 5.11 on Linuxmint 18.03
To install WinRAR 5.11 on Linuxmint 18.03
RAR files are compressed files created by the WinRAR archive. RAR files can be split into multi-volume archives when dealing with large file sets. Like Zip files, these files need to be extracted. In this tutorial, we will cover the installation of Winrar on Linux Mint 18.3.
Installation
First, We have to download the WinRAR 5.11 application using wget command.
linuxhelp ~ # wget rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz
--2018-05-01 05:32:30-- http://rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz
Resolving rarlab.com (rarlab.com)... 5.135.104.98
Connecting to rarlab.com (rarlab.com)|5.135.104.98|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz [following]
--2018-05-01 05:32:30-- https://rarlab.com/rar/rarlinux-x64-5.1.1.tar.gz
Connecting to rarlab.com (rarlab.com)|5.135.104.98|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1140135 (1.1M) [application/x-gzip]
Saving to: ‘ rarlinux-x64-5.1.1.tar.gz’
rarlinux-x64-5.1.1.tar.gz 100%[=====================================> ] 1.09M 728KB/s in 1.5s
2018-05-01 05:32:33 (728 KB/s) - ‘ rarlinux-x64-5.1.1.tar.gz’ saved [1140135/1140135]
After downloading extract the downloaded tar file.
linuxhelp ~ # tar -zxvf rarlinux-x64-5.1.1.tar.gz
rar/
rar/order.htm
rar/acknow.txt
rar/readme.txt
rar/rar_static
rar/default.sfx
rar/license.txt
rar/rarfiles.lst
rar/whatsnew.txt
rar/makefile
rar/rar
rar/unrar
rar/rar.txt
Now navigate into the RAR directory.
linuxhelp ~ # ls rar rarlinux-x64-5.1.1.tar.gz linuxhelp ~ # cd rar/
And then you need to build using Make command and then do make install.
linuxhelp 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 linuxhelp 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 Finally,we have to type rar:
Now type RAR and verify the installation.
linuxhelp rar # rar
RAR 5.11 Copyright (c) 1993-2014 Alexander Roshal 27 Aug 2014
Trial version Type RAR -? for help
Usage: rar < command> -< switch 1> -< switch N> < archive> < files...>
< @listfiles...> < path_to_extract>
< Commands>
a Add files to archive
c Add archive comment
ch Change archive parameters
cw Write archive comment to file
d Delete files from archive
e Extract files without archived paths
f Freshen files in archive
.
.
.
tl Set archive time to latest file
tn< time> Process files newer than < time>
to< time> Process files older than < time>
ts< m,c,a> [N] Save or restore file time (modification, creation, access)
u Update files
v< size> [k,b] Create volumes with size=< size> *1000 [*1024, *1]
ver[n] File version control
vn Use the old style volume naming scheme
vp Pause before each volume
w< path> Assign work directory
x< file> Exclude specified file
x@ Read file names to exclude from stdin
x@< list> Exclude files listed in specified list file
y Assume Yes on all queries
z[file] Read archive comment from file
With this, the method to install WINRAR 5.11 on Linux Mint 18.3 comes to an end.
Comments ( 4 )
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp: cannot create regular file '/usr/local/bin/rar': Permission denied
cp: cannot create regular file '/usr/local/bin/unrar': Permission denied
makefile:9: recipe for target 'install' failed
make: *** [install] Error 1
after inputting: make