How to Install Apache Groovy on Debian 10

Install Apache Groovy on Debian 10

In this article, we will have explained the necessary steps to install Apache Groovy on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Apache Groovy is a powerful, multi-paradigm programming language for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java libraries, and delivers powerful enhancements and productivity features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.

Install Apache Groovy on Debian 10

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo apt update
sudo apt upgrade

Step 2. Install Java.

Before you start, remember that Groovy requires you to have Java installed on your system. So make sure you do:

sudo apt install openjdk-11-jdk

Step 3. Install Snap.

On Debian 10 (Buster) and newer, snap can be installed directly from the command line:

sudo apt install snapd

Step 4. InstallĀ  Apache Groovy Programming Language on Debian.

To install Apache Groovy Programming Language, simply use the following command:

sudo snap install groovy --classic

Congratulation, you have learned how to install and configure Groovy programming language on Debian 10 Buster. If you have any question, please leave a comment below.