install gradle ubuntu 20.04 1

install gradle ubuntu 20.04

VERSION=6.5.1
wget https://services.gradle.org/distributions/gradle-${VERSION}-bin.zip -P /tmp
sudo unzip -d /opt/gradle /tmp/gradle-${VERSION}-bin.zip

Here is what the above code is Doing:
1. Downloading the Gradle binary zip file to the /tmp directory
2. Unzipping the Gradle binary zip file to the /opt/gradle directory

Similar Posts