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!
Printable View
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!
Visit this thread if you have Fedora :http://forums.techarena.in/operating...ms/1065318.htm
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
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:
If you are using Fedora core Linux then use yum command as follows :Code:# apt-get install unrar
If you are using FreeBSD, use:Code:# yum install unrar
If any of above, methods is not working for you, download binary package from official rarlab site:Code:# pkg_add -v -r unrar
Untar file :Code:$ cd /tmp
$ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:Code:$ tar -zxvf rarlinux-3.6.0.tar.gz
Now copy rar and unrar to /bin directory:Code:$ cd rar
$ ./unrar
Code:# 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:
Please note that replace file.rar filename with your actual filename.Code:$ unrar e file.rar
Task: List (l) file inside rar archive:
Task: To extract (x) files with full path type command:Code:$ unrar l file.rar
(D) To test (t) integrity of archive, file type command:Code:$ unrar x file.rar
Code:$ unrar t file.rar