I don't know how to install files to Ubuntu. Kindly explain to me how to install Groovy.
Asked
Active
Viewed 2.3k times
2 Answers
18
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.
5
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/

Eduardo
- 211
apt install groovy
leads to a broken installation on Ubuntu 22.04: ```╰─$ groovy --version groovy: JAVA_HOME is not defined correctly, can not execute: /usr/lib/jvm/java-8-oracle/bin/java – jfs Mar 25 '23 at 08:40