UnRAR installation package for Slackware Linux 12.1. UnRAR for DOS: Command line freeware DOS32 UnRAR. UnRAR for Windows Itanium: Command line freeware Windows Itanium UnRAR. UnRAR for OS/2: Command line freeware OS/2 UnRAR. UnRAR for Mac OS X 64 bit: Command line freeware 64 bit Mac OS X UnRAR. UnRAR for PowerPC Mac OS X. Nov 05, 2020 How to Unrar Files in Linux. Roshal Archive (RAR) is a file format designed to compress and archive data. Once you download rar files from the Internet, you need a program that will extract them – unpack or unrar them. GeeUnRAR is a lightweight GUI for the command line utility unrar, which uncompresses RAR archives. It derives from UnRarX, but brings a whole new perspective to unextracting archives. It's so lightweight that you barely see it: Have a look at the screenshots yourself. It comes with unrar 4.00 (UnRarX: 3.xx), the fastest unrar available today.
XZipis an application to unzip and unrar archives and extract original set of files.
* XZip can open .zip, .rar, .b1, as well as 34 other formats;
* open password-protected zip, rar and 7z;
* browse files inside archives without actual extraction;
* partial extract - extract only selected files, not the whole archive;
* create password-protected zip and b1 archives.
Main features:
* open zip files (unzip), open rar files (unrar);
* open 7z, apk, a, ar, arj, bz2, bzip2, cab, deb, gz, gzip, jar, iso, lha, lzh, lzma, mtz, rpm,
tar, tar.bz2, tbz, tbz2, tar.gz, tgz, tpz, taz, tar.lzma, tar.xz, tar.Z, xap, xar, xz, Z, zipx;
* open password-protected zip, rar and 7z (Pro version only);
* browse files inside archives without actual extraction;
* partial extract - extract only selected files, not the whole archive;
* support for zip with non-Latin symbols;
* open multi-part (splitted) rar and b1 archives;
* compress files into zip archive;
* compress files into b1 with smart compression;
* create password-protected zip and b1 archives;
* progress in notification area and work in background mode;
* file navigation, copy/paste, delete/rename, file properties;
* multi-selection of files and folders;
* favorite folders;
* hiding files from media scan;
* and much more…
Version differences:
TheBasic versionprovides you with 5 successful unpackings. After that you still can use XZip to create archives and preview their content as well as move, copy, rename and delete files.
ThePro Versionincludes:
* Unlimited number of unpackings;
* Full support for password-protected archives.
Downloading rar and unrar
After you download rar from RarLab‘s download section, you should find a file called something like rarosx-3.8.0.tar.gz depending on the version you downloaded. If you double click on it, OS X will unarchive and create a folder called rar, which contains three 'Unix executable files', and a bunch of text / html files. The executables are the command line rar and unrar, plus a support file used for installation. Rar is a demo that expires after 40 days, so don't bother installing it unless you are planning to buy the licence (instructions are in one of the html files in the folder). Luckily unrar is freeware and you can just use it.
Installing unrar on OS X
To install unrar, open the Terminal application (Applications/Utilties/Terminal) and navigate to the rar folder. If you don't know how, the easiest way is to type ‘cd ‘ with a space after it, then drag the rar folder onto the terminal window - Terminal will type out the path to the folder for you. Typicall on OS X Leopard it would becd Downloads/rar
Once in that folder, type the following command
where SHORTNAME is the short version of your user name. If you are not sure what it is, just typewhoami
and Terminal will tell you.
Breaking down the command:
- sudo
- runs this command in administrator mode, a security measure to prevent viruses installing software at will; you will be asked for your password when you type return
- install
- call the 'install' utility, which does just what it says on the tin
- -c
- tells the install utility to copy the unrar file to its destination
- -o SHORTNAME
- tells the install utility to make you the owner of the binary, so that you won't have to type a password every time you want to use it
- unrar
- the file to install - if you want to install rar instead, replace unrar with rar here
- /usr/local/bin
- the place where this will be installed - the /usr/local/bin folder is a common Unix location for binaries
After pressing ENTER and typing your password, you will be able to use unrar on the command line. To test it, type the following followed by ENTER:
where
- cd
- takes you out of the rar folder and back to your home folder, because we want to test this will work from any location, and this is the fastest way to move out of the rar folder
- unrar
- this will run unrar, and since you haven't passed any parameters, it should just print out instructions on how to use it.
Using unrar on the command line on Mac OS X
Mpeg 1 encoder mac. Using unrar is very simple - in the Terminal window (Applicatons/Utilities/Terminal) you simply navigate to the folder where you want the archive to be extracted to. If you are not sure how to do that, the simplest way would be to type ‘cd ‘, including the space at the end, then drag the folder you want to navigate to onto the window, and Terminal will type its path for you. Then you type the unrar command, for example:
Here's what the example above does:
Unrar Online
- cd ~/Documents
- navigate to the Documents folder
- unrar
- calls the unrar utility
- x
- runs command 'x' within the unrar utility; this will extract files maintaining the directory structure within the archive. If you type 'e', instead, all files will be extracted without enclosing folders
- ~/test-archive.rar
- this is the location of the archive - again, the easiest way to do that is to drag the actual file onto the Terminal window
That was the simplest way to use the utilities. In fact, unrar offers several options, which you can discover by typing ‘unrar' followed by return on the terminal, and reading the instructions. As an example, the following
can be broken down as- unrar x
- tells unrar to run the 'x' command, which is 'extract files to current directory maintaining directory structure'
- -pSECRET
- use option -p, password, and passes the string SECRET as the password - yes, without a space in between
- -y
- uses option -y, 'assumes yes on all queries'
- archive.rar
- the name of the file to be extracted
Downloading rar and unrar
After you download rar from RarLab‘s download section, you should find a file called something like rarosx-3.8.0.tar.gz depending on the version you downloaded. If you double click on it, OS X will unarchive and create a folder called rar, which contains three 'Unix executable files', and a bunch of text / html files. The executables are the command line rar and unrar, plus a support file used for installation. Rar is a demo that expires after 40 days, so don't bother installing it unless you are planning to buy the licence (instructions are in one of the html files in the folder). Luckily unrar is freeware and you can just use it.
Installing unrar on OS X
To install unrar, open the Terminal application (Applications/Utilties/Terminal) and navigate to the rar folder. If you don't know how, the easiest way is to type ‘cd ‘ with a space after it, then drag the rar folder onto the terminal window - Terminal will type out the path to the folder for you. Typicall on OS X Leopard it would becd Downloads/rar
Once in that folder, type the following command
where SHORTNAME is the short version of your user name. If you are not sure what it is, just typewhoami
and Terminal will tell you.
Breaking down the command:
- sudo
- runs this command in administrator mode, a security measure to prevent viruses installing software at will; you will be asked for your password when you type return
- install
- call the 'install' utility, which does just what it says on the tin
- -c
- tells the install utility to copy the unrar file to its destination
- -o SHORTNAME
- tells the install utility to make you the owner of the binary, so that you won't have to type a password every time you want to use it
- unrar
- the file to install - if you want to install rar instead, replace unrar with rar here
- /usr/local/bin
- the place where this will be installed - the /usr/local/bin folder is a common Unix location for binaries
After pressing ENTER and typing your password, you will be able to use unrar on the command line. To test it, type the following followed by ENTER:
where
- cd
- takes you out of the rar folder and back to your home folder, because we want to test this will work from any location, and this is the fastest way to move out of the rar folder
- unrar
- this will run unrar, and since you haven't passed any parameters, it should just print out instructions on how to use it.
Using unrar on the command line on Mac OS X
Mpeg 1 encoder mac. Using unrar is very simple - in the Terminal window (Applicatons/Utilities/Terminal) you simply navigate to the folder where you want the archive to be extracted to. If you are not sure how to do that, the simplest way would be to type ‘cd ‘, including the space at the end, then drag the folder you want to navigate to onto the window, and Terminal will type its path for you. Then you type the unrar command, for example:
Here's what the example above does:
Unrar Online
- cd ~/Documents
- navigate to the Documents folder
- unrar
- calls the unrar utility
- x
- runs command 'x' within the unrar utility; this will extract files maintaining the directory structure within the archive. If you type 'e', instead, all files will be extracted without enclosing folders
- ~/test-archive.rar
- this is the location of the archive - again, the easiest way to do that is to drag the actual file onto the Terminal window
That was the simplest way to use the utilities. In fact, unrar offers several options, which you can discover by typing ‘unrar' followed by return on the terminal, and reading the instructions. As an example, the following
can be broken down as- unrar x
- tells unrar to run the 'x' command, which is 'extract files to current directory maintaining directory structure'
- -pSECRET
- use option -p, password, and passes the string SECRET as the password - yes, without a space in between
- -y
- uses option -y, 'assumes yes on all queries'
- archive.rar
- the name of the file to be extracted
Using unrar on the command line to unarchive a batch of files
Unrar For Windows
This is where the command line version of unrar comes into its own - try and uncompress a bunch of password protected archives with any other utility, and see what I mean. To unarchive a batch of files, we'll use the ‘find' command (which does exactly what it says), and pass its results to unrar.
- cd ~/Documents/
- navigate to the Documents folder
- find
- starts the find utility
- ~/Downloads/
- tells the find utility to look for files in the Downloads directory within your home (that's what ~ stands for). If your rar files are somewhere else, just replace the folder name with the one you need. If the rar files are in the same directory, you can just type a dot, '.', which in Unix means 'the current directory'
- -name '*.rar'
- tells find to look for files which ends in .rar - the * before it means 'anything'. If you want, say, to look for all files which start with b and end in .rar, you'd type 'b*.rar' instead
- -exec unrar
- tells find to pass the results to unrar. If you want to test before you start extracting, replace this with -print, and don't type the following commands. This will just print a list of files.
- -pSECRET
- passes password SECRET to unrar; ignore if you don't need it
- -y
- tells unrar to answer 'yes' to all queries, so it won't hang waiting for you to type it in manually
- -ad
- for each archive, this will create a folder of the same name as the archive, and save all files in it. This is very useful, otherwise if your archives do not have any folders inside them, all files would be mixed together
- x
- tells unrar which command to run
- {} ;
- this is used by find, {} menas the file you just found and ; ends it all
Now you can go make yourself a cup of tea, and all the archives will be magically extracted when you come back. Well not always all - occasionally there are quirks and unrar fails. I always check the Terminal window for errors (APPLE-F for find, and then look for word ‘error') and if there were any errors, I will re-extract that particular archive again with a different utility. But errors don't happen too often, and using the command line tool saves a lot of time.