How to install Groovy on ubuntu 10.10

Download zip file from and unzip to folder

$ sudo unzip -d /opt/groovy/

Edit PATH in the environment file

$ sudo nano /etc/environment

Add the following to the environment file

PATH="... :$GROOVY_HOME/bin"

Reload environment variables

source /etc/environment

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
This entry was posted in Ubuntu. Bookmark the permalink.

Leave a Reply