Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
install:mac_homebrew [2019/01/29 21:46] – external edit 127.0.0.1 | install:mac_homebrew [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Solving Dependencies Using Homebrew and Perlbrew === | ||
- | This is a fast and simple method to install missing packages once you have installed [[http:// | ||
- | |||
- | If you already have installed the two packet managers then you can jump to step 3 immediately. If you don't, we briefly explain how to set up Homebrew in step 1 and Perlbrew in step 2. | ||
- | |||
- | You need to install a compiler and java prior to installing '' | ||
- | |||
- | == 1 Setting up Homebrew == | ||
- | |||
- | We summarise the steps we use to install Homebrew on our test systems. If the following lines don't work on your Mac, or if you need more details, please consult the installation instructions on the [[http:// | ||
- | |||
- | Start a terminal (its in the '' | ||
- | < | ||
- | ruby -e " | ||
- | </ | ||
- | This will print some information that you should approve by pressing '' | ||
- | |||
- | Once this is done type | ||
- | < | ||
- | brew doctor | ||
- | </ | ||
- | in the terminal. | ||
- | |||
- | You should now have a running version of homebrew. | ||
- | |||
- | == 2 Installing Perlbrew == | ||
- | |||
- | Again, the following commands work on our test systems. If you run into problems please consult the pages of [[http:// | ||
- | |||
- | < | ||
- | \curl -L http:// | ||
- | </ | ||
- | |||
- | This will take a while. | ||
- | |||
- | Afterwards to | ||
- | < | ||
- | echo " | ||
- | echo " | ||
- | source $HOME/ | ||
- | perlbrew install-cpanm | ||
- | cpanm --local-lib=~/ | ||
- | export ARCHFLAGS=" | ||
- | </ | ||
- | |||
- | This should give you a working perl base in your home directory. | ||
- | |||
- | == 3 Solving dependencies == | ||
- | |||
- | In a terminal do the following: | ||
- | < | ||
- | brew install gmp | ||
- | brew install mpfr | ||
- | brew install boost | ||
- | brew install readline | ||
- | brew install ant | ||
- | brew install ppl | ||
- | brew link --force readline | ||
- | cpanm --configure-args ' | ||
- | brew unlink readline | ||
- | cpanm XML:: | ||
- | </ | ||
- | |||
- | These commands should install all necessary software on your computer. You can now proceed with installing polymake. |