How to Install and Uninstall groovy2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "groovy2" package

Please follow the guidance below to install groovy2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install groovy2

2. Uninstall "groovy2" package

This guide covers the steps necessary to uninstall groovy2 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove groovy2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the groovy2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: groovy2
Priority: optional
Section: universe/java
Installed-Size: 27958
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Version: 2.4.5-1
Depends: antlr, default-jre-headless | java6-runtime-headless, ivy, junit4, libasm4-java, libbsf-java, libcommons-cli-java, libcommons-logging-java, libjansi-java, libjline2-java, libqdox-java, libservlet2.5-java, libxstream-java
Recommends: ant, ant-optional, libgpars-groovy-java (>= 1.0~), libjcommander-java, testng
Suggests: groovy-doc
Filename: pool/universe/g/groovy2/groovy2_2.4.5-1_all.deb
Size: 12967360
MD5sum: ec24e9a6f44d68c31e0a26ffaa607dac
SHA1: 825f9f8ce6001c0c6262bb7a4465c36480753375
SHA256: 1bac104ac503c00335c87e225bc0f35e7900e526abeccc99f233414ec09d8727
Description-en: Agile dynamic language for the Java Virtual Machine
Groovy is an agile dynamic language for the JVM combining lots of great
features from languages like Python, Ruby and Smalltalk and making them
available to the Java developers using a Java-like syntax.
.
Groovy is designed to help you get things done on the Java platform in a
quicker, more concise and fun way - bringing the power of Python and Ruby
inside the Java platform.
.
Groovy can be used as an alternative compiler to javac to generate
standard Java bytecode to be used by any Java project or it can be used
dynamically as an alternative language such as for scripting Java objects,
templating or writing unit test cases.
Description-md5: 722015325f3e393c005ff78ae5b6eed4
Homepage: http://www.groovy-lang.org
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu