Skip to content

Instantly share code, notes, and snippets.

@fire
Forked from surjikal/install.md
Last active August 29, 2015 14:12
Show Gist options
  • Save fire/fb96966de8b4f25ea692 to your computer and use it in GitHub Desktop.
Save fire/fb96966de8b4f25ea692 to your computer and use it in GitHub Desktop.
  1. Install JDK 1.8

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

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

    And apply the changes to your session:

    source ~/.bashrc
    
  3. Install mvn:

    brew update
    brew install mvn
    brew upgrade mvn
    
  4. Pull the prestodb sources:

    git clone https://github.com/facebook/presto.git
    cd presto
    
  5. 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