In this tutorial we will show you how to install Apache Groovy on Debian 10. For those of you who didn’t know, Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, 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 program and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Apache Groovy on a Debian 10 (Buster) server.
Install Apache Groovy on Debian 10 Buster
Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt commands in the terminal:
Apache Groovy requires Java to be installed on your system. To install OpenJDK run following command in terminal:
Verify the Java installation:
To install Apache Groovy Programming Language, simply use the following command:
After installing, you can check whether Groovy is installed by displaying its version number:
Congratulations! You have successfully installed Apache Groovy. Thanks for using this tutorial for installing the latest version of the Apache Groovy on Debian 10 server. For additional help or useful information, we recommend you to check the official Apache Groovy website.