<?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>Oracle Linux 8. tutorial Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/oracle-linux-8-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 05 Aug 2019 20:22:59 +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>Install NodeJS on CentOS 8 / RHEL 8 / Oracle Linux 8</title>
		<link>https://www.osradar.com/install-nodejs-on-centos-8-rhel-8-oracle-linux-8/</link>
					<comments>https://www.osradar.com/install-nodejs-on-centos-8-rhel-8-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 09 Aug 2019 01:11:37 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Oracle Linux 8. tutorial]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12939</guid>

					<description><![CDATA[<p>A web server must be able to run many different applications or websites. Then, you have to install tools to run it. On the other hand, it is also possible that in a normal computer, we have to use those tools to create such applications. In this sense, NodeJS emerges as one of those tools [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nodejs-on-centos-8-rhel-8-oracle-linux-8/">Install NodeJS on CentOS 8 / RHEL 8 / Oracle Linux 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>A web server must be able to run many different applications or websites. Then, you have to install tools to run it. On the other hand, it is also possible that in a normal computer, we have to use those tools to create such applications. In this sense, NodeJS emerges as one of those tools that many developers use for their web applications. So, in this post, you will learn how to install NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8. Whether you use the system as a web server or as your desktop operating system. In both cases, it is useful to install it.</p>
<h2>NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8</h2>
<p>As is well known, <a href="http://nodejs.org/">NodeJS</a> is an open-source technology that allows you to expand the functionality of web applications. Basically, it is a Javascript implementation on the server-side. Mainly used in applications where constant and asynchronous communication between client and server is required.</p>
<p>If you use CentOS 8, RHEL 8 or Oracle Linux 8 it is likely that you are either an application developer or sysadmin. In both cases, it is likely that you will have to serve web applications and it is better than the system has NodeJS installed for easy deployment.</p>
<h3>1) Using the EPEL repository</h3>
<p>We have two ways to install NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8. The first is to enable the EPEL repository.</p>
<p>EPEL is a pretty reliable repository that allows you to install a lot of packages in the distribution. All this without any problems.</p>
<p>It opens a terminal and runs the following:</p>
<pre>:~$ su
:~#  dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</pre>
<figure id="attachment_12940" aria-describedby="caption-attachment-12940" style="width: 1361px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12940" src="https://www.osradar.com/wp-content/uploads/2019/08/1-3.jpeg" alt="1.- Enabling the EPEL repository on CentOS 8, RHEL 8 and Oracle Linux 8" width="1361" height="276" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-3.jpeg 1361w, https://www.osradar.com/wp-content/uploads/2019/08/1-3-300x61.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-3-768x156.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-3-1024x208.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-3-696x141.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-3-1068x217.jpeg 1068w" sizes="(max-width: 1361px) 100vw, 1361px" /><figcaption id="caption-attachment-12940" class="wp-caption-text">1.- Enabling the EPEL repository on CentOS 8, RHEL 8 and Oracle Linux 8</figcaption></figure>
<p>Then, install NodeJS by running the following command:</p>
<pre>:~# dnf install nodejs</pre>
<figure id="attachment_12941" aria-describedby="caption-attachment-12941" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12941" src="https://www.osradar.com/wp-content/uploads/2019/08/2-3.jpeg" alt="2.- Install NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8" width="1366" height="354" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-3.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-300x78.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-768x199.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-1024x265.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-696x180.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-1068x277.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12941" class="wp-caption-text">2.- Install NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8</figcaption></figure>
<p>Finally, check the installed version.</p>
<pre>:~# node -v
v10.14.1</pre>
<h3>2) Install NodeJS on CentOS 8, RHEL 8 and Oracle Linux 8 using the NVM</h3>
<p>The first method is quite reliable and we even get an LTS version. However, it is likely that we need to have the latest version available. Using NVM this is possible.</p>
<p><a href="https://github.com/nvm-sh/nvm">NVM</a> (Node Version Manager) is a utility that allows you to install and manage different versions of NodeJS.</p>
<p>First, you have to install curl to download NVM.</p>
<pre>:~# dnf install curl</pre>
<p>Then, download and install NVM.</p>
<pre>:~# :~# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash</pre>
<figure id="attachment_12942" aria-describedby="caption-attachment-12942" style="width: 811px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12942" src="https://www.osradar.com/wp-content/uploads/2019/08/3-3.jpeg" alt="3.- Install NVM on CentOS 8 RHEL 8 and Oracle Linux 8" width="811" height="252" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-3.jpeg 811w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-300x93.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-768x239.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-696x216.jpeg 696w" sizes="(max-width: 811px) 100vw, 811px" /><figcaption id="caption-attachment-12942" class="wp-caption-text">3.- Install NVM on CentOS 8 RHEL 8 and Oracle Linux 8</figcaption></figure>
<p>Now, refresh the bash profile to use NVM.</p>
<pre>:~# source ~/.bash_profile</pre>
<p>Now you can list all versions of NodeJS available for download.</p>
<pre>:~# nvm list-remote</pre>
<figure id="attachment_12943" aria-describedby="caption-attachment-12943" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12943" src="https://www.osradar.com/wp-content/uploads/2019/08/4-2.jpeg" alt="4.- All nodeJS versions ready to be installed" width="1366" height="709" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-2.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-300x156.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-768x399.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-1024x531.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-696x361.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-1068x554.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-809x420.jpeg 809w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12943" class="wp-caption-text">4.- All nodeJS versions ready to be installed</figcaption></figure>
<p>For example, I will install the latest version.</p>
<pre>:~# nvm install 12.7.0</pre>
<p>Once the process is finished, check the installed version.</p>
<pre>:~# node -v</pre>
<figure id="attachment_12944" aria-describedby="caption-attachment-12944" style="width: 318px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12944" src="https://www.osradar.com/wp-content/uploads/2019/08/5-1.jpeg" alt="5.- Node version" width="318" height="114" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-1.jpeg 318w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-300x108.jpeg 300w" sizes="(max-width: 318px) 100vw, 318px" /><figcaption id="caption-attachment-12944" class="wp-caption-text">5.- Node version</figcaption></figure>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>As you can see Installing NodeJS is a simple process, especially for a technology quite powerful and used by many developers worldwide. We even have two ways to do it and it&#8217;s up to you to choose the best one.</p>
<p>If you want to <strong>install NodeJS in other systems like Debian or Ubuntu</strong>, you can check <a href="https://www.osradar.com/tag/nodejs/">here</a>.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nodejs-on-centos-8-rhel-8-oracle-linux-8/">Install NodeJS on CentOS 8 / RHEL 8 / Oracle Linux 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/install-nodejs-on-centos-8-rhel-8-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
