How-to Install Latest Groovy 2 on Ubuntu 14.04 Trusty LTS 32-64bit Linux Easy Guide

November 6th, 2014 by thelinuxevangelist

Groovy 2 Quick-Start for Ubuntu 14.04 LTS Linux

The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Groovy 2 on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 Linux Desktop.

Groovy is a Dynamic Language that has Additional power Features inspired by languages like Python, Ruby and Smalltalk like:

  • Function Literals
  • Support for Collections
  • Support for Regular Expressions
  • Support for XML Processing

It is Recommended to dispose of a Java 8 installation because Now Groovy 2 Supports the latest Oracle Java JDK 8 Specifications.

Installing Groovy 2 for Ubuntu 14.04 Trusty LTS - Featured

  1. Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    Ubuntu 14.04 Trusty LTS Groovy 2 Installation - Featured
  2. Download Latest Groovy 2.x Binary Release

    Groovy 2.x Zip Archive
  3. Double-Click on Archive and Extract into /tmp

    Ubuntu 14.04 Trusty LTS Getting-Started with Groovy 2 - Extract

    Or from Command Line:

    unzip -d /tmp/ $HOME/Downloads/groovy*.zip
  4. Installing Groovy 2 on Ubuntu

    sudo su -c "chown -R root:root /tmp/groovy*"
    sudo su -c "mv /tmp/groovy* /opt/groovy2"
  5. Append Groovy2 to the User Path

    nano $HOME/.bashrc


    export GROOVY_HOME=/opt/groovy2
    export PATH=$GROOVY_HOME/bin:$PATH

    Load the New Path:

  6. Test Groovy 2 Installation

    groovy -version
  7. How-to Install Recommended Oracle Java JDK8 on Ubuntu:

    Install Oracle JDK 8 for Ubuntu
  8. Getting-Started with Groovy 2 Programming

    Groovy 2 Quick-Start Guide

Tags: , , , , , , , , , , , , , , , , ,