Installing ‘unrar’ on Mac OS X Server

| Comments

I’ve been having a lot of trouble unraring several larger (5+GB) files with TheUnarchiver and RARExpander GUI applications so I generally always just moved the rar’d files over to my Linux machine and run unrar on there and then move it back over, obviously one step to many!

Fortunately you can easily install the unrar application on your server or even just normal OS X client. Visit the RARLab website and go into their downloads section. There is one download which is Command Line Only and made for Mac OS X. Download that and then uncompress it. You should have a new folder called ‘rar’. While in command line navigate into that folder and run:

1
sudo install -c -o yourusername unrar /bin

This will install the binaries needed into the correct places. Now since my normal everyday account isn’t an account with administrator privileges I first had switch to one that was and then ran that command. Once completed (the install should take a few seconds if that) you can test it out by running:

1
unrar

If you’re shown a list of options then it worked!

I’m not really sure as to why GUI applications have trouble unraring large sized files, but unrar seems to be able to handle them just fine!

Comments