- Apple Developer Tools
- Note: this is like 2GB. You might be better off simply installing
the
gcc
compiler from here. I actually have no idea if this will work but if somebody is brave enough to try, that'd be awesome.
- Note: this is like 2GB. You might be better off simply installing
the
- Slight knowledge of the command line (or at least a little bravery and some faith).
- An admin account. This is not 100% necessary but makes life 98% easier. Trust me.
- Open up Terminal(.app), located in /Applications/Utilites.
- Copy and paste this line into the terminal:
curl -fsSL https://raw.github.com/gist/1236387 | sh
. Hit enter. - When prompted for a password, enter the correct one (nothing will show up).
- Success. Type in
gp
(enter) to make sure it works.
- Download the stable source distrobution (2.5.0 as of this writing) from the PARI/GP website.
- If your browser didn't automatically unzip the file, go to the download folder and unzip it.
- Open up Terminal(.app), located in /Applications/Utilities
- Type
cd Downloads/pari-2.5.0
. Hit enter. - Type
./Configure
. Hit enter. - Type
sudo make install
. Hit enter. Enter your password when prompted. - If there are no errors, you now have PARI/GP installed! Type in
gp
(enter) to try it out.
To run every time, simple open up the Terminal and type gp
.