How to Open rar files in linux ubuntu

Yesterday i have a problem to open or unrar wordlist.rar in ubuntu, i have try to do some command but can`t solved my problem.

use unrar-free

apt-get install unrar-free

this tool can`t open big rar file, because my files its about 28gigabyte.

ok and open google.com

found some links:

http://www.cyberciti.biz/faq/open-rar-file-or-extract-rar-files-under-linux-or-unix/

i try to do what i see in that web and everything works fine.

lets we see:

root@vps:/home/ardan# apt-get install unrar
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package unrar has no installation candidate
root@vps:/home/ardan# cd /tmp
root@vps:/tmp# ls
root@vps:/tmp# wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
–2009-07-12 14:03:39–  http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
Resolving http://www.rarlab.com… 174.129.219.97
Connecting to http://www.rarlab.com|174.129.219.97|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 752997 (735K) [application/x-gzip]
Saving to: `rarlinux-3.6.0.tar.gz’

100%[====================================================================================>] 752,997     2.12M/s   in 0.3s

2009-07-12 14:03:40 (2.12 MB/s) – `rarlinux-3.6.0.tar.gz’ saved [752997/752997]

root@vps:/tmp# tar -zxvf rarlinux-3.6.0.tar.gz
rar/
rar/file_id.diz
rar/license.txt
rar/Makefile
rar/order.htm
rar/rarfiles.lst
rar/rar.txt
rar/readme.txt
rar/technote.txt
rar/whatsnew.txt
rar/rar
rar/rar_static
rar/unrar
rar/default.sfx
root@vps:/tmp# cd rar
root@vps:/tmp/rar# ./unrar

UNRAR 3.60 freeware      Copyright (c) 1993-2006 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files…>
<@listfiles…> <path_to_extract\>

<Commands>
e             Extract files to current directory
l[t,b]        List archive [technical, bare]
p             Print file to stdout
t             Test archive files
v[t,b]        Verbosely list archive [technical,bare]
x             Extract files with full path

<Switches>
–             Stop switches scanning
ad            Append archive name to destination path
ap<path>      Set path inside archive
av-           Disable authenticity verification check
c-            Disable comments show
cfg-          Disable read configuration
cl            Convert names to lower case
cu            Convert names to upper case
dh            Open shared files
ep            Exclude paths from names
ep3           Expand paths to full including the drive letter
f             Freshen files
id[c,d,p,q]   Disable messages
ierr          Send all messages to stderr
inul          Disable all messages
kb            Keep broken extracted files
n<file>       Include only specified file
n@            Read file names to include from stdin
n@<list>      Include files in specified list file
o+            Overwrite existing files
o-            Do not overwrite existing files
or            Rename files automatically
ow            Save or restore file owner and group
p[password]   Set password
p-            Do not query password
r             Recurse subdirectories
sl<size>      Process files with size less than specified
sm<size>      Process files with size more than specified
ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
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             List all volumes
ver[n]        File version control
vp            Pause before each volume
x<file>       Exclude specified file
x@            Read file names to exclude from stdin
x@<list>      Exclude files in specified list file
y             Assume Yes on all queries
root@vps:/tmp/rar# cp rar unrar /bin
root@vps:/tmp/rar# cd /home/ardan
root@vps:/home/ardan# ls
psybnc                 wordlist.rar
root@vps:/home/ardan# unrar e wordlist.rar

UNRAR 3.60 freeware      Copyright (c) 1993-2006 Alexander Roshal

Extracting from wordlist.rar

Extracting  acdc’s dictionary.txt                                     27%

——————————–

semua berjalan normal tanpa ada masalah dan akhirnya saya bisa membaca file hasil extract an tersebut

:

thanks to google

cyberciti.biz

santrex.net

and everyone who support me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s