How to Unrar in Linux?

How to Unrar in Linux?

Hi,

How to Unrar Files in Linux?

Thanks

View Answers

January 23, 2011 at 2:36 PM

Hi,

First install unrar tool on your linux box.

Use the following command:

yum install unrar

Here is the output of the command:

myserver [~]# yum install unrar

Reducing Dag ClamAV RPM to included packages only

Finished

Setting up Install Process

Parsing package install arguments

Resolving Dependencies

There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.

--> Running transaction check

---> Package unrar.x86_64 0:4.0.2-1.el5.rf set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:

unrar x86_64 4.0.2-1.el5.rf dag 113 k

Transaction Summary

Install 1 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 113 k

Is this ok [y/N]: y

Downloading Packages:

unrar-4.0.2-1.el5.rf.x86_64.rpm | 113 kB 00:00

Running rpmcheckdebug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : unrar [1/1]

Installed: unrar.x86_64 0:4.0.2-1.el5.rf

Complete!

myserver [~]# unrar

UNRAR 4.00 beta 2 freeware Copyright (c) 1993-2010 Alexander Roshal

Usage: unrar - -

           <@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

    ai Ignore file attributes

    ap Set path inside archive

    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 Include only specified file

    n@ Read file names to include from stdin

    n@ Include files listed in specified list file

    o[+|-] Set the overwrite mode

    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 Process files with size less than specified

    sm Process files with size more than specified

    ta Process files modified after in YYYYMMDDHHMMSS format

    tb Process files modified before in YYYYMMDDHHMMSS format

    tn

    to

    ts[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 Exclude specified file

    x@ Read file names to exclude from stdin

    x@ Exclude files listed in specified list file

    y Assume Yes on all queries

myserver [~]# cd /backup/


January 23, 2011 at 2:37 PM

Hi,

then use the following command to unrar file:

unrar e myfile.rar

Thanks









Related Tutorials/Questions & Answers:
How to Unrar in Linux?
ModuleNotFoundError: No module named 'linuxU'
Advertisements
ModuleNotFoundError: No module named 'linuxU'
ModuleNotFoundError: No module named 'linuxU'
unrar command not found in linux
ModuleNotFoundError: No module named 'unrar'
ModuleNotFoundError: No module named 'unrar-cffi'
ModuleNotFoundError: No module named 'unrar_wrapper'
how to code
how to update
how to display?
how to display?
how to display?
How to include?
How to connect
how to solve
How to add
how to solve this..
how to solve this..
how to do this?
How to? - IoC
how to retrive
how to display?
VoIP HOW TO
Hibernate How To
How to capture video and then how to store it in mobile memory
how to reset JFrame
how it maps to Struts
how to conduct the test in java
how make ID - Ajax
how formBackingObject() method will work.
How To Turn On the Session Support?
How to create an input box?
How to reload the current page?
How to set cookies?
How to reset a cookie?
How to destroy a cookie?
How to Handle Event Handlers?
How to disable an HTML object?
How to comment javascript code?
How to create arrays in JavaScript?
How to create a confirmation box?
How to set the cursor to wait?
How to make elements invisible ?
How to call servlet in JSP?
how to use calender in php
how to configure the hibernate in netbean
how to update image in php
how to install jboss drools
how to create frame in swings

Ads