I have Linux Ubuntu 14.04 LTS. I wanted to install Grails and I have found informations on how to install it on Ubuntu 14.04 VPS here. So I am a little confused.
LTS and VPS?VPS version?A very simple way on Linux/Unix OS is to use the GVM Tool.
After installing the GVM tools you simply run
$ gvm install grails 2.4.3
in order to install Grails 2.4.3
UPDATE: Meanwhile gvm was renamed to sdkman.
Install sdkman
$ curl -s "https://get.sdkman.io" | bash
In order you want to continue working in the same terminal window execute
$ source "$HOME/.sdkman/bin/sdkman-init.sh"
To install the latest version of Grails simply run
$ sdk install grails
or if need a specific version you can run
$ sdk install grails 2.4.3
You may try these steps. But this is just a guess, am not much sure about LTS and VPS
grails-{desired version} zip fileedit .bashrc in home folder such that
JAVA_HOME=/path/to/java/jdk1.6.0_25-64/
export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH
export GRAILS_HOME=/path/to/grails/grails-2.4.2/
export PATH="$PATH:$GRAILS_HOME/bin"
try to run grails command in terminal
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With