Skip to content

Instantly share code, notes, and snippets.

@surjikal
Last active July 23, 2018 19:05
Show Gist options
  • Save surjikal/fd888a636da9708425d3 to your computer and use it in GitHub Desktop.
Save surjikal/fd888a636da9708425d3 to your computer and use it in GitHub Desktop.
Presto Installation Instructions for OSX
  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
    
@pjogi
Copy link

pjogi commented Jul 23, 2018

Or you can download the tar file from here http://maven.apache.org/download.cgi.

untar, add path to the profile

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