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 data-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.
Tag :
Linux Mint
Q
What is the wizard interface?
A
The WinRAR Wizard interface is designed for novice users and allows them to perform basic compression and decompression operations using a simple step by step procedure.
Q
How can I split files to multivolume archives?
A
If you compress your file(s), you can enter the volume size in the "Split to volumes" field in the "archive name and parameters dialog: general options" to create volumes (multi part archives).
Q
What is the difference between command line WinRAR and RAR?
A
In addition to WinRAR you will find, in the distributive, the file rar.exe.
It is also a 32-bit RAR version for Windows, but it supports only the command line, text mode interface.
It is also a 32-bit RAR version for Windows, but it supports only the command line, text mode interface.
Q
How do I handle RAR files?
A
WinRAR provides complete support for RAR files, so you may both create and unpack them.
If you installed WinRAR on your computer and downloaded a RAR file from the Internet, you may double click on the RAR file icon to open it in WinRAR, select all files, press the "Extract To" button, enter a destination path and press "OK".
If you installed WinRAR on your computer and downloaded a RAR file from the Internet, you may double click on the RAR file icon to open it in WinRAR, select all files, press the "Extract To" button, enter a destination path and press "OK".
Q
What is the maximum file and archive size limitation?
A
The size of a RAR or ZIP archive, as well as the size of any single file within a RAR archive, is limited to 8,589,934,591 GB (9,223,372,036,854,775,807 bytes).
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