How to Install Gradle on Ubuntu 18.04 Bionic Easy Guide

February 2, 2018 | By the+gnu+linux+evangelist.

Gradle Ubuntu 18.04 - Setting Up

  1. And Relocate Gradle Archive.

    sudo mv /tmp/gradle* /opt/

    This for a System-Wide installation, for a local one simply put into your Home…
    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  2. Follow to Setup Gradle Env Variables and Path.

    echo "GRADLE_HOME=/opt/gradle-[X.Y]" > $HOME/.bashrc

    Just Replace the Gradle Version to [X.Y] in above Command

    echo 'export PATH=$PATH:$GRADLE_HOME/bin' > $HOME/.bashrc

    Then to Load New SetUp:

    bash

QuickChic Theme • Powered by WordPress