Reputation: 3625
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?Upvotes: 4
Views: 14152
Reputation: 9072
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
Upvotes: 19
Reputation: 37033
VPS
stands for Virtual Private Server in general (no special Ubuntu version) and LTS
for Long Time Support added to a version number of Ubuntu to annotate a longer livetime (e.g. making this versions more suitable for servers). So these letters have not much influence on your way of installing Grails. The instructions there (installing JDK from OS and using sdkman (formerly GVM)) are sound advice to run Grails.
Upvotes: 1
Reputation: 1182
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
Upvotes: 8