Skip to content

Instantly share code, notes, and snippets.

@johndpope
Forked from surjikal/install.md
Last active August 6, 2017 17:37
Show Gist options
  • Save johndpope/aaa7eaebb6d881f10b233011eb9bdbd9 to your computer and use it in GitHub Desktop.
Save johndpope/aaa7eaebb6d881f10b233011eb9bdbd9 to your computer and use it in GitHub Desktop.
Presto Installation Instructions for OSX + Zsh
  1. Install JDK 1.8

(optional) use https://github.com/robbyrussell/oh-my-zsh https://code.visualstudio.com/

  1. See if JAVA_HOME ENV variable is set to 1.8. If not, add this line in your ~/.zshrc:

    export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
    

    And apply the changes to your session:

    source ~/.zshrc
    
  2. Install mvn:

    brew update
    brew install maven
    brew upgrade maven
    
  3. Pull the prestodb sources:

    git clone https://github.com/facebook/presto.git
    cd presto
    
  4. Build the thing (took ~23 minutes for me):

    mvn clean install
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment