28 Apr 2008 @ 6:39 PM 
 

Install unrar command

 

Install unrar command

Under Debian Linux, you need to type apt-get as follows to install unrar program:

# apt-get install unrar

If you are using Fedora core Linux then use yum command as follows :

# yum install unrar

If you are using FreeBSD, use:

# pkg_add -v -r unrar

If any of above, methods is not working for you, download binary package from official rarlab site:

$ cd /tmp

$ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz

Untar file

$ tar -zxvf rarlinux-3.6.0.tar.gz

Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:

$ cd rar

$ ./unrar

Now copy rar and unrar to /bin directory:

# cp rar unrar /bin

How to use unrar

unrar command supports various options below are common options that you need to use everyday.

Task: To open rar (unpack) file in current directory type command:

$ unrar e file.rar

Please note that replace file.rar filename with your actual filename.

Task: List (l) file inside rar archive:

$ unrar l file.rar

Task: To extract (x) files with full path type command:

$ unrar x file.rar

(D) To test (t) integrity of archive, file type command:

$ unrar t file.rar

Tags Tags: , , , , ,
Categories: Celoteh Harian, Reviews
Posted By: dedi
Last Edit: 28 Apr 2008 @ 06 42 PM

E-mailPermalink
 

Responses to this post » (5 Total)

 
  1. Steven Russo said...
    4:46 am - June 17th, 2008

    Hey awesome blog! Know anyone who would be interested in part time admin’ing a Linux box? Hit me up!

  2. Daiphyer’s Files » Blog Archive » Installing Unrar said...
    3:40 am - June 29th, 2008

    [...] Reference: Install Unrar Command [...]

  3. dedi said...
    10:54 am - June 29th, 2008

    Hi Daiphyer, thanks for reference to my blog :)

  4. yudiantoro said...
    5:40 pm - July 23rd, 2008

    Met kenal Mas Dee Di.. saya pengguna baru di Linux. Saya pake opensuse 10.3. Saya punya masalah tentang instalasi font baru di linux. Saya sudah download banyak font tipe TTF dari internet dalam bentuk ZIP. Saya pernah denger bahwa kita bisa install banyak font sekaligus ke folder /usr/share/fonts/truetype pake editor vi. tapi gimana caranya ya mas? isi vinya gimana ya mas? soalnya klo copy and paste satu-satu lumayan capek.. terima kasih sebelumnya..

  5. dedi said...
    6:35 pm - July 24th, 2008

    Setahu saya ndak pake editing vi, di unzip dulu aja itu File zip nya ntar kan keluar file TTF nya, kemudian create folder baru aja
    lalu copy aja semua file font (TTF) yang mau dipake ke folder yang baru dicreate
    misalkan :
    mkfontdir /usr/share/fonts/truetype/fontbaru

    fc-cache
    ==>beres< ==
    nb : jangan lupa chmod file TTF nya jadi 644, biar bisa dibaca klo gak login root :)

 

Leave A Comment ...

 

 XHTML:
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
\/ More Options ...
Change Theme...
  • Role »
  • Posts »
  • Comments »
Change Theme...
  • VoidVoid (Default)
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LiteLightweight
  • No Child Pages...
  • No Child Pages...
  • No Child Pages...