Skip to content

Instantly share code, notes, and snippets.

@ecabuk
Created October 30, 2013 15:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecabuk/7234622 to your computer and use it in GitHub Desktop.
Save ecabuk/7234622 to your computer and use it in GitHub Desktop.
Install Winrar on Mac properly

Use the following command to install unrar:

sudo install -c -o $USER unrar /bin

$USER is a default environment variable in the bash shell which contains your username.

Sudo requires you to enter your user password. It’s the same password you use when you log in to Mac OS X. To install rar you can use the same command:

sudo install -c -o $USER rar /bin

Do a test-run to see if the installation went properly. In your terminal now enter from any location you want:

unrar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment