forked from idris-hackers/software-foundations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add installation instructions for prerequisites on macOS
- Loading branch information
1 parent
0e999ee
commit 22f510f
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Installing prerequisites on macOS | ||
|
||
We assume that you are using a fresh macOS installation. | ||
|
||
## Install [Homebrew](http://brew.sh/) package manager | ||
|
||
```shell | ||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
``` | ||
|
||
## Install major dependencies via Homebrew | ||
|
||
```shell | ||
brew install idris cabal-install git ghc python wget | ||
``` | ||
|
||
## Install [MacTeX](http://www.tug.org/mactex/) via Homebrew | ||
|
||
```shell | ||
brew cask install mactex | ||
``` | ||
|
||
## Install pandoc and pandoc-types via cabal | ||
|
||
```shell | ||
cabal update | ||
cabal install pandoc pandoc-types | ||
export PATH=$HOME/.cabal/bin:$PATH | ||
``` | ||
|
||
You might want to add cabal to your `PATH` permanently. | ||
|
||
## Install pygments | ||
|
||
```shell | ||
pip install --user Pygments | ||
``` | ||
|
||
## Install Monoid font | ||
|
||
Download the [Monoid font](http://larsenwork.com/monoid/) and put the `ttf`-files into `/Library/Fonts` directory. | ||
Reboot to let macOS find the font. |