Binary Releases
As of v0.0.6 and up binary releases of playground are available for download here, which will allow you to run playground without having an existing julia install.
Installing
Download the tar.gz file for your platform into your desired install location (ie:
~/bin)Go to that directory (
cd ~/bin)Extract the build (
tar -xvzf ~/bin/playground-osx.tar.gz)cd playground && ./INSTALL.shCreate an alias that sets the
LD_LIBRARY_PATHand calls the script. This should be placed in your shell rc file, so if your default shell is bash then you'd addalias playground="LD_LIBRARY_PATH=~/bin/playground ~/bin/playground/playground"to your~/.bashrcfile.
NOTE: This alias hack with LD_LIBRARY_PATH is only necessary due to an issue in the binaries created with BuildExecutable.jl. In future releases it should only be necessary for ~/bin/playground to be on your search path (ie: in your PATH variable).
Building
If you'd like to build you own playground binary executables you'll have a few more steps. First, add BuildExecutable and checkout the current master.
julia> Pkg.add("BuildExecutable")
julia> Pkg.checkout("BuildExecutable.jl")In order to tell the Playground.jl build script to create a binary executable you'll need to run
julia> ENV["PLAYGROUND_BIN_EXEC"] = trueprior to calling Pkg.build("Playground").