-
Install JDK 1.8
-
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
-
Install
mvn
:brew update brew install mvn brew upgrade mvn
-
Pull the prestodb sources:
git clone https://github.com/facebook/presto.git cd presto
-
Build the thing (took ~23 minutes for me):
mvn clean install
Last active
July 23, 2018 19:05
-
-
Save surjikal/fd888a636da9708425d3 to your computer and use it in GitHub Desktop.
Presto Installation Instructions for OSX
you might like zsh instead of standard bash shell / also highly recommend iTerm2
https://github.com/robbyrussell/oh-my-zsh +
https://code.visualstudio.com/
code ~/.zshrc to add java home line
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
it should be
brew install maven
, after it is installed, we usemvn clean xxx