<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gradle on linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/gradle-on-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 19 Mar 2020 15:26:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Gradle on CentOS 8</title>
		<link>https://www.osradar.com/how-to-install-gradle-on-centos-8/</link>
					<comments>https://www.osradar.com/how-to-install-gradle-on-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 19 Mar 2020 15:26:13 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gradle on centos 8]]></category>
		<category><![CDATA[gradle on linux]]></category>
		<category><![CDATA[how to install gradle on centos 8]]></category>
		<category><![CDATA[install gradle]]></category>
		<category><![CDATA[installation guide for gradle on centos 8]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18983</guid>

					<description><![CDATA[<p>Today we are going to learn that how we can Install Gradle on CentOS 8. Gradle is free &#38; Open Source tool that is widely used for the Java projects. The programming language used by the Gradle is Groovy that is dynamic and well defined OOP (Object oriented programming) language. It is also used for [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gradle-on-centos-8/">How To Install Gradle on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that how we can <a href="https://www.osradar.com/?p=18983">Install Gradle on CentOS 8</a>. Gradle is free &amp; Open Source tool that is widely used for the Java projects. The programming language used by the Gradle is Groovy that is dynamic and well defined OOP (Object oriented programming) language. It is also used for the development of scripts for Java language. You can also see the variety of Gradle projects in Android alos. So, without wasting time let&#8217;s move towards the insallation of Gradle on CentOS 8. Just follow the below steps for easy installation.</p>



<h2><strong>Requirements:</strong></h2>



<p>Here&#8217;s the list of requirements you need to install Gradle on CentOS 8.</p>



<ul><li>OpenJDK</li><li>Gradle Package</li><li>Environment Variables</li></ul>



<p><strong>Make sure you&#8217;ve sudo privileges.</strong></p>



<h3><strong>Step 1: Install OpenJDK</strong></h3>



<p>First of all install the Java on your CentOS system. Fire the below command to install OpenJDK 8 on CentOS 8.</p>



<pre class="wp-block-verse">sudo yum install java-1.8.0-openjdk-devel</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="629" height="455" src="https://www.osradar.com/wp-content/uploads/2020/03/1-9.png" alt="" class="wp-image-19080" srcset="https://www.osradar.com/wp-content/uploads/2020/03/1-9.png 629w, https://www.osradar.com/wp-content/uploads/2020/03/1-9-300x217.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/1-9-324x235.png 324w, https://www.osradar.com/wp-content/uploads/2020/03/1-9-581x420.png 581w" sizes="(max-width: 629px) 100vw, 629px" /></figure></div>



<p>Verify the installation of Java by running the below command.</p>



<pre class="wp-block-verse">java -version</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="645" height="163" src="https://www.osradar.com/wp-content/uploads/2020/03/2-10.png" alt="how to install gradle on centos 8" class="wp-image-19081" srcset="https://www.osradar.com/wp-content/uploads/2020/03/2-10.png 645w, https://www.osradar.com/wp-content/uploads/2020/03/2-10-300x76.png 300w" sizes="(max-width: 645px) 100vw, 645px" /></figure></div>



<h3><strong>Step 2: Downloading Gradle</strong></h3>



<p>To download Gradle, go to their <a href="https://gradle.org/releases/">official</a> release page. The latest available version at the time of this writing is 6.2.2 released on March 04, 2020. You can visit the official site if there&#8217;s new version available.</p>



<p>So, download it from the website or run the following command in your terminal</p>



<pre class="wp-block-verse">wget https://services.gradle.org/distributions/gradle-6.2.2-bin.zip -P /tmp</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="711" height="373" src="https://www.osradar.com/wp-content/uploads/2020/03/3-12.png" alt="" class="wp-image-19095" srcset="https://www.osradar.com/wp-content/uploads/2020/03/3-12.png 711w, https://www.osradar.com/wp-content/uploads/2020/03/3-12-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/3-12-696x365.png 696w" sizes="(max-width: 711px) 100vw, 711px" /></figure></div>



<p>Then unzip the package downloaded by</p>



<pre class="wp-block-verse">sudo unzip -d /opt/gradle /tmp/gradle-6.2.2-bin.zip</pre>



<h3><strong>Step 3: Setting Up Environment Variables </strong></h3>



<p>PATH Environment variable must include the Gradle directory. So, make a new file with the name <strong>gradle.sh</strong> under the <strong>/etc/profile.d/</strong> directory. </p>



<pre class="wp-block-verse">sudo nano /etc/profile.d/gradle.sh</pre>



<p>After it paste the below data into the file.</p>



<pre class="wp-block-verse">export GRADLE_HOME=/opt/gradle/gradle-6.2.2<br>export PATH=${GRADLE_HOME}/bin:${PATH}</pre>



<p>Then Save and close the file.</p>



<p>Run the given command to make your script executable</p>



<pre class="wp-block-verse">sudo chmod +x /etc/profile.d/gradle.sh</pre>



<p>After it load the Environment variables by typing</p>



<pre class="wp-block-verse">source /etc/profile.d/gradle.sh</pre>



<p>As we&#8217;ve all done, so check the version of Installed Gradle to verify our Installation. </p>



<pre class="wp-block-verse">gradle -v</pre>



<p>Output:</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="722" height="401" src="https://www.osradar.com/wp-content/uploads/2020/03/gradle-4.png" alt="gradle version how to install gradle 6.2.2" class="wp-image-19096" srcset="https://www.osradar.com/wp-content/uploads/2020/03/gradle-4.png 722w, https://www.osradar.com/wp-content/uploads/2020/03/gradle-4-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/gradle-4-696x387.png 696w" sizes="(max-width: 722px) 100vw, 722px" /></figure></div>



<p>So, this is how you can Install Gradle on your CentOS 8.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gradle-on-centos-8/">How To Install Gradle on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-gradle-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
