2

I'm trying to install Groovy for all users on an Ubuntu system. Apparently the correct way to install Groovy is to use http://sdkman.io/ but following those instructions the software is only installed for the root user. What are you intended to do?

  • Why not simply install it from the universe repo? If you need something newer, binary and source zips are available. sdkman is meant to allow the user to install what he needs into his own environment. – Sven Oct 27 '15 at 17:47
  • I originally tried installing from the universe repo but I got errors running apt-get update on it, leading me to believe it was no longer supported. – Chris B. Oct 28 '15 at 11:49
3

I would check the paragraph: Installing to a Custom Location in the install documentation.

After you install it, say in /usr/local/sdkman, it gets a matter to invoke:

source "/usr/local/sdkman/bin/sdkman-init.sh"

for any user login: it can be done putting a custom bash init file in

/etc/profile.d/

http://sdkman.io/install.html

| improve this answer | |
0
sudo apt-get install groovy

Works fine to me in Ubuntu 16.04.3

| improve this answer | |
0

On recent Ubuntu versions (works on Ubuntu 19.10) Groovy can be installed with Snap:

sudo snap install groovy --classic
| improve this answer | |
-1

Try this:

sudo apt-add-repository ppa:groovy-dev/groovy
sudo apt-get update
sudo apt-get install groovy

Let me know how that works for you.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.