Results 1 to 4 of 4

Thread: How to extract files from rar archive in ubuntu?

  1. #1
    Join Date
    Jan 2009
    Posts
    203

    How to extract files from rar archive in ubuntu?

    Hey guys!
    I am using Ubuntu linux 8.10 for a quite a while. I installed wine so that i can run windows programs in ubuntu. But instead of using windows winrar to extract the files, can i use any other linux software to do that??
    Help guys!

  2. #2
    Join Date
    Jan 2009
    Posts
    710

    Re: How to extract files from rar archive in ubuntu?

    Visit this thread if you have Fedora :Extract winrar files on Fedora

    Common for all Linux, to extract the file from archive type the following code in terminal after navigating to the folder from terminal where the rar file is located :

    Code:
    $ unrar e file.rar

  3. #3
    Join Date
    Jan 2009
    Posts
    140

    Re: How to extract files from rar archive in ubuntu?

    You have to install unrar command before you can use it...

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

    Code:
    # apt-get install unrar
    If you are using Fedora core Linux then use yum command as follows :

    Code:
    # yum install unrar
    If you are using FreeBSD, use:

    Code:
    # pkg_add -v -r unrar
    If any of above, methods is not working for you, download binary package from official rarlab site:

    Code:
    $ cd /tmp
    $ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
    Untar file :

    Code:
    $ tar -zxvf rarlinux-3.6.0.tar.gz
    Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:

    Code:
    $ cd rar
    $ ./unrar
    Now copy rar and unrar to /bin directory:

    Code:
    # cp rar unrar /bin

  4. #4
    Join Date
    Jan 2009
    Posts
    140

    Re: How to extract files from rar archive in ubuntu?

    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:

    Code:
    $ unrar e file.rar
    Please note that replace file.rar filename with your actual filename.
    Task: List (l) file inside rar archive:

    Code:
    $ unrar l file.rar
    Task: To extract (x) files with full path type command:

    Code:
    $ unrar x file.rar
    (D) To test (t) integrity of archive, file type command:
    Code:
    $ unrar t file.rar

Similar Threads

  1. Replies: 6
    Last Post: 30-01-2012, 07:16 PM
  2. Nintendo 3DS shows no files inside zip archive
    By Calvert in forum Portable Devices
    Replies: 5
    Last Post: 02-04-2011, 11:00 AM
  3. How do you archive files of different formats in Java ?
    By GOOL in forum Software Development
    Replies: 4
    Last Post: 13-01-2011, 11:14 PM
  4. Replies: 4
    Last Post: 23-10-2009, 08:26 AM
  5. Zip archive to build files in PHP
    By christheart in forum Software Development
    Replies: 1
    Last Post: 24-01-2009, 12:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,539,271.45844 seconds with 17 queries