Download zip file from http://groovy.codehaus.org/ and unzip to folder
$ sudo unzip groovy-binary-1.7.6.zip -d /opt/groovy/
Edit PATH in the environment file
$ sudo nano /etc/environment
Add the following to the environment file
PATH="... :$GROOVY_HOME/bin" GROOVY_HOME="/opt/groovy/groovy-1.7.5"
Add symbolic links to the usr/bin folder
$ sudo ln -sf /opt/groovy/groovy-1.7.5/bin/* /usr/bin/.
Open a new terminal. Test installation
$ groovy --version Groovy Version: 1.7.5 JVM: 1.6.0_20
No comments:
Post a Comment