How to install Gradle

To install Gradle in CentOS

get -O ~/
sudo yum -y install unzip java-1.8.0-openjdk
sudo mkdir /opt/gradle
sudo unzip -d /opt/gradle/ ~/
sudo vi /etc/profile.d/

Open Vi Editor and add this line

export PATH=$PATH:/opt/gradle/gradle-4.7/bin

Then set permissions on

do chmod 755 /etc/profile.d/

log out of the server and logging back in:

gradle --version


Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: