How do I install Groovy in Ubuntu? [duplicate]

Solution 1:

The fast way is to install from the command line. Type the following command.

sudo apt-get install groovy

You can also use Software Center from Ubuntu->Software Center to install Groovy. Type Groovy in the search box and after selecting the first option, click Install button.

enter image description here

Solution 2:

To install through command-line, make sure that your package list is updated and then install the package:

sudo apt-get update
sudo apt-get install groovy

Reference:

https://www.howtoinstall.co/en/ubuntu/trusty/universe/groovy/