A simple Haskell program implementing Bellard's formula
It should just install with cabal. You will probably want to install the Haskell Platform.
cabal install --bindir=/path/to/where/you/want/the/bin
Just call the binary with the number of digits you want to print:
PiBellards 30
The above will print 30 decimal places of pi.