<?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>Javascritpt Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/javascritpt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 29 Sep 2021 15:04:07 +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 ReactJS on Ubuntu 20.04</title>
		<link>https://www.osradar.com/install-reactjs-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-reactjs-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 30 Sep 2021 23:03:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32484</guid>

					<description><![CDATA[<p>Hello, friends. Ubuntu 20.04 is a good system to start developing applications and this is well known by most veteran developers. So, today I will show you how to install ReactJS on Ubuntu 20.04 as a first step so you can start using this tool for your web applications. So, first, let’s talk about what [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-reactjs-ubuntu-20-04/">How to install ReactJS on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. Ubuntu 20.04 is a good system to start developing applications and this is well known by most veteran developers. So, today I will show you how to install ReactJS on Ubuntu 20.04 as a first step so you can start using this tool for your web applications.</p>



<p class="has-line-data">So, first, let’s talk about what is ReactJS</p>



<p class="has-line-data"><strong><a href="https://reactjs.org/" target="_blank" rel="noreferrer noopener">ReactJS </a>is an open-source JavaScript library for developing user interfaces.</strong> It was launched in 2013 and developed by Facebook, which also currently maintains it together with a community of independent developers and companies.</p>



<p class="has-line-data">React, as it is also known, represents a solid foundation on which almost anything can be built with JavaScript. It also makes development much easier, as it offers us many ready-made things, which we don’t need to spend time working on.</p>



<p class="has-line-data">An example of this is that <strong>it is used to develop web applications in a more orderly way and with less code than if you use pure Javascript or libraries like jQuery focused on DOM manipulation</strong>. It allows views to be associated with data, so that if the data changes, so do the views.</p>



<p class="has-line-data">For these and other reasons, many developers use it in their front-end projects.</p>



<p class="has-line-data">So, let’s install it.</p>



<h2 class="code-line"><a id="Install_ReactJS_on_UBuntu_2004_14"></a>Install ReactJS on UBuntu 20.04</h2>



<p class="has-line-data">React, as we’ll call it, depends on NodeJS so the first step is to install it on the system.</p>



<p class="has-line-data">So, open a terminal and update the distro completely.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">After that, add the NodeJS 14.x repository which is the version we will be working with.</p>



<pre class="wp-block-preformatted">curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -</pre>



<p class="has-line-data">When the process is finished, we can start the NodeJS installation by running the following command</p>



<pre class="wp-block-preformatted">sudo apt install nodejs</pre>



<p class="has-line-data">When finished, you will be able to check the version of NodeJS installed on the system.</p>



<pre class="wp-block-preformatted">node -v
v14.18.0</pre>



<p class="has-line-data">Now it is necessary to install a recent version of NPM to do so run</p>



<pre class="wp-block-preformatted">sudo npm install npm@latest -g</pre>



<p class="has-line-data">Output</p>



<pre class="wp-block-preformatted">/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@7.24.1
added 70 packages from 27 contributors, removed 250 packages and updated 187 packages in 6.975s</pre>



<p class="has-line-data">To install ReactJS then, run the following command</p>



<pre class="wp-block-preformatted">sudo npm install -g create-react-app</pre>



<p class="has-line-data">Query the installed version to check that the installation was successful.</p>



<pre class="wp-block-preformatted">create-react-app --version
4.0.3</pre>



<p class="has-line-data">With this, we can start creating our projects without problems</p>



<h3 class="code-line"><a id="Creating_a_new_ReactJS_project_58"></a>Creating a new ReactJS project</h3>



<p class="has-line-data">To create a new project with ReactJS just run the following command</p>



<pre class="wp-block-preformatted">create-react-app example</pre>



<p class="has-line-data">You have to replace <code>example</code> with the name of your project. This will start the whole process of downloading and configuring the new project.</p>



<p class="has-line-data">When the process is finished, you will see the following output on the screen</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="887" height="403" src="https://www.osradar.com/wp-content/uploads/2021/09/1-7.png" alt="1.- ReactJS installed" class="wp-image-32491" srcset="https://www.osradar.com/wp-content/uploads/2021/09/1-7.png 887w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-768x349.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-696x316.png 696w" sizes="(max-width: 887px) 100vw, 887px" /><figcaption>1.- ReactJS installed</figcaption></figure>



<p class="has-line-data">As you can see, you have some commands that you should use when needed. To check that everything went well, run</p>



<pre class="wp-block-preformatted">npm start</pre>



<p class="has-line-data">Now open a web browser and go to <code>http://your-server:3000</code> or <code>http://localhost:3000</code> and you’ll see a screen like this</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="511" src="https://www.osradar.com/wp-content/uploads/2021/09/2-4-1024x511.png" alt="2.- ReactJS on Ubuntu 20.04" class="wp-image-32492" srcset="https://www.osradar.com/wp-content/uploads/2021/09/2-4-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/09/2-4.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- ReactJS on Ubuntu 20.04</figcaption></figure>



<p class="has-line-data">So, ReactJS is ready and you can now create great creations with it. Enjoy it!</p>



<h2 class="code-line"><a id="Conclusion_76"></a>Conclusion</h2>



<p class="has-line-data">ReactJS is a great tool on the Front-end side itself gives us answers to many problems arising from the use of JQuery. So, in this post, you learn how to install it on Ubuntu 20.04</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-reactjs-ubuntu-20-04/">How to install ReactJS on Ubuntu 20.04</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-reactjs-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Brackets in Windows 10 plus extensions</title>
		<link>https://www.osradar.com/how-to-install-brackets-in-windows-10-plus-extensions/</link>
					<comments>https://www.osradar.com/how-to-install-brackets-in-windows-10-plus-extensions/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 11 Jul 2020 04:51:20 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[brackets]]></category>
		<category><![CDATA[code editor]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21572</guid>

					<description><![CDATA[<p>Hello! Brackets is an open-source code editor designed by Adobe for web developers. Additionally, it has a very simple and modern interface capable of handling HTML, CSS, and JavaScript. Besides, it&#8217;s very complete, light, and free. Some of its features involve the use of a theme to color the letter according to the structure of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-brackets-in-windows-10-plus-extensions/">How to install Brackets in Windows 10 plus extensions</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Brackets is an open-source code editor designed by Adobe for web developers. Additionally, it has a very simple and modern interface capable of handling HTML, CSS, and JavaScript. Besides, it&#8217;s very complete, light, and free. Some of its features involve the use of a theme to color the letter according to the structure of the code. However, its most interesting feature is the ability to show in real-time the changes made to the code. Without the need to save the changes or refresh the browser. Well, in this post we will see how to install Brackets in Windows 10 plus extensions.</p>



<h2>How to download and install Brackets in Windows 10.</h2>



<p>This is a multi-platform software so the installer for Windows is available from the project <a rel="noreferrer noopener" href="http://brackets.io/" target="_blank">website</a>. The installation wizard is very simple, as it works like any other program for Windows. Please just check the two boxes when you start the installation. The installation wizard is very simple, as it works like any other program for Windows. Please just check the two boxes when you start the installation. In effect, these boxes correspond to adding the program to the path for command line use. And the other one is to add the use of brackets to the context menu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="772" height="600" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra.png" alt="Please check both boxes for installation" class="wp-image-21573" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra.png 772w, https://www.osradar.com/wp-content/uploads/2020/07/bra-300x233.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra-768x597.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra-696x541.png 696w" sizes="(max-width: 772px) 100vw, 772px" /><figcaption>Please check both boxes for installation</figcaption></figure>



<p>After a few moments the installation is completed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="772" height="600" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra2.png" alt="" class="wp-image-21574" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra2.png 772w, https://www.osradar.com/wp-content/uploads/2020/07/bra2-300x233.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra2-768x597.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra2-696x541.png 696w" sizes="(max-width: 772px) 100vw, 772px" /></figure>



<h2>Launching Brackets for the First Time</h2>



<p>After installing the program, simply type your name in the search bar to launch it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="835" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra3-1024x835.png" alt="Launching Brackets for the First Time" class="wp-image-21575" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra3-1024x835.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra3-300x245.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra3-768x626.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra3-696x568.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra3-1068x871.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra3.png 1177w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Launching Brackets for the First Time</figcaption></figure>



<p>The Windows Firewall warning window will be displayed immediately. Please allow access for optimal functioning of the editor</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="790" height="571" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra4.png" alt="Please authorize access to the network through the firewall" class="wp-image-21576" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra4.png 790w, https://www.osradar.com/wp-content/uploads/2020/07/bra4-300x217.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra4-768x555.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra4-696x503.png 696w" sizes="(max-width: 790px) 100vw, 790px" /><figcaption>Please authorize access to the network through the firewall</figcaption></figure>



<p>We have highlighted that the most attractive feature of this editor is that it shows a preview of the live work. With this in mind, you need to have installed Google Chrome. In addition, when the editor is launched, two sample files called<strong> index.html </strong>and <strong>main.css </strong>will be displayed. Well, once you have selected the HTML file, just click on the lightning bolt. The Chrome will then display the HTML file in a window. Additionally, any changes we make in the editor will be displayed in the browser. The process is demonstrated in the video below:</p>



<figure class="wp-block-video"><video controls src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra.mp4"></video></figure>



<h2>Creating a new project in Brackets.</h2>



<p>As mentioned, Brackets can add extensions that facilitate its operation. But before you try it, please create a new project to test the extensions. With this intention, create a folder and place it wherever you want. Then from the menu <strong>File</strong>, click on <strong>Open Folder</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="543" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra6-1024x543.png" alt="" class="wp-image-21578" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra6-1024x543.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra6-300x159.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra6-768x408.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra6-1536x815.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra6-696x369.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra6-1068x567.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra6.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now it&#8217;s time to create the <strong>index.html</strong> file. With this in mind, press the right button on your mouse and click on <strong>New File.</strong></p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="545" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra7-1024x545.png" alt="" data-id="21579" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra7.png" data-link="https://www.osradar.com/?attachment_id=21579" class="wp-image-21579" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra7-1024x545.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra7-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra7-768x408.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra7-1536x817.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra7-696x370.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra7-1068x568.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra7.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra8-1024x550.png" alt="" data-id="21580" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra8.png" data-link="https://www.osradar.com/?attachment_id=21580" class="wp-image-21580" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra8-1024x550.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra8-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra8-768x412.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra8-1536x825.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra8-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra8-1068x573.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra8.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li></ul></figure>



<p>Now repeat the process to create the <strong>styles.css</strong> file</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra9-1024x550.png" alt="" class="wp-image-21581" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra9-1024x550.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra9-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra9-768x412.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra9-1536x825.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra9-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra9-1068x573.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra9.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>With this pair of files, you&#8217;re ready to encode.</p>



<h2>How to add extensions</h2>



<p>Now it&#8217;s time to add extensions. This process is very simple and intuitive. Since it is enough to click on the plugin block. For this example, I will add the <strong>Custom Works </strong>extension that allows to organize the files in tabs. To do this, enter the name in the search engine and then press Install. Finally, wait while downloading and installing the extension</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra11-1024x550.png" alt="" class="wp-image-21582" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra11-1024x550.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra11-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra11-768x412.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra11-1536x825.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra11-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra11-1068x573.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra11.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing the Custom Works extension</figcaption></figure>



<p>Follow me, you can see the extension showing the content in tabs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/bra12-1024x550.png" alt="" class="wp-image-21583" srcset="https://www.osradar.com/wp-content/uploads/2020/07/bra12-1024x550.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/bra12-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/bra12-768x412.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/bra12-1536x825.png 1536w, https://www.osradar.com/wp-content/uploads/2020/07/bra12-696x374.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/bra12-1068x573.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/bra12.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Conclusion</h2>



<p>At the end of the day, we have seen how to install Brackets in Windows 10 plus extensions. From now on, you can edit your projects and see the results in real-time. I hope you find this post useful before I say goodbye I invite you to see our post about <a rel="noreferrer noopener" href="https://www.osradar.com/how-to-analyze-the-network-with-ip-tools-for-android/" target="_blank">IP Tools </a>for Android. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-brackets-in-windows-10-plus-extensions/">How to install Brackets in Windows 10 plus extensions</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-brackets-in-windows-10-plus-extensions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OrientDB in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-orientdb-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-orientdb-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 28 Nov 2019 12:12:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[orientdb]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16014</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? This time we&#8217;re going to talk about databases. Specifically about OrientDB. This is a NoSQL database manager made in java focused on combining the model of documents and graphs to make robust applications without the need to have more than one data manager. OrientDB handles 2 APIs, graphics and documents, as far [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orientdb-in-windows-10/">How to install OrientDB in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? This time we&#8217;re going to talk about databases. Specifically about OrientDB. This is a NoSQL database manager made in java focused on combining the model of documents and graphs to make robust applications without the need to have more than one data manager. OrientDB handles 2 APIs, graphics and documents, as far as graphics are concerned, it uses documents to create its nodes. On the other hand, for documents, it uses keys and objects to store data. It also includes interesting features to the document model, such as the ability to create links to other documents and lists. It is also possible to define the rigidity of the model, giving the option to choose mandatory fields. This database manager is a good option for developers. For that reason, let&#8217;s see how to install OrientDB on Windows 10.</p>



<h2>Prerequisite.</h2>



<p>OrientDB is written in Java. For this reason, it is essential to have Java Run Environment installed. If you don&#8217;t have it yet, you can download it from the following <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://www.java.com/en/download/windows-64bit.jsp" target="_blank">link</a>. Once you download the file, you only have to install it like any other program for Windows. To verify the installation, open a Command Prompt and type the following command:</p>



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



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient.jpg" alt="Testing the Java version" class="wp-image-16016" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Testing the Java version</figcaption></figure>



<p>If everything is in order, you will see the Java version installed.</p>



<h2>Downloading OrientDB</h2>



<p>First, go to the <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://orientdb.org/download" target="_blank">download</a> section of OrientDB. Once there, select the Community Edition for Windows:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient7-1.jpg" alt="" class="wp-image-16021" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient7-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The file is compressed in ZIP format. For convenience, unzip it at the root of the Windows installation. In most cases, it is the C:\ drive.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient8.jpg" alt="Unzip the folder at the root of the Windows 10 installation.
" class="wp-image-16022" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient8-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Unzip the folder at the root of the Windows 10 installation.</figcaption></figure>



<h2>Running OrientDB for the first time.</h2>



<p>Then go to the following path: <strong>C:\orientdb-3.0.25\bin</strong>. Now let&#8217;s start the database manager, double-clicking on the file <em>server.bat</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient9.jpg" alt="Runs the file server.bat" class="wp-image-16024" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient9.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient9-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Runs the file server.bat</figcaption></figure>



<p>This will start the server by opening a CMD console and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient4.jpg" alt="" class="wp-image-16027" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient4.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient4-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The wizard will ask you to assign the password for the root user. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient3-1.jpg" alt="Assigns the password for the root user." class="wp-image-16028" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient3-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient3-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Assigns the password for the root user.</figcaption></figure>



<p>If you want to start the manager using the CMD, you only need to go to  the bin folder of the program, and then run <em>server.bat.</em></p>



<pre class="wp-block-preformatted">cd..
cd..
cd orientdb-3.0.25
cd bin
server.bat</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient10.jpg" alt="Running OrientDB on a Command Prompt" class="wp-image-16030" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient10-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Running OrientDB on a Command Prompt</figcaption></figure>



<p><strong>Running the console</strong> − You can use the following command to run OrientDB under the console. With this in mind, go to the same previous path and run the following command:</p>



<pre class="wp-block-preformatted">console.bat</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient11.jpg" alt="Running console.bat" class="wp-image-16032" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient11.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient11-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running console.bat</figcaption></figure>



<p>Once the server is started, go to the web browser and enter the following in the navigation bar:  <strong>http://localhost:2480</strong>. You have to enter the password created for the root user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient5.jpg" alt="OrientDB Studio. Please enter root password." class="wp-image-16034" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient5-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>OrientDB Studio. Please enter root password.</figcaption></figure>



<p>After entering the password correctly, you will see the OrientDB graphical interface. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/orient6.jpg" alt="OrientDB Studio" class="wp-image-16036" srcset="https://www.osradar.com/wp-content/uploads/2019/11/orient6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/orient6-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>OrientDB Studio</figcaption></figure>



<p>To shutdown the engine, you need to run the following command from the bin folder:</p>



<pre class="wp-block-preformatted">shutdown.bat -p rootpasword</pre>



<p>Remember to replace <em>rootpassword</em> with the password you created.  </p>



<h2>Conclusion</h2>



<p>Finally, we have seen how to install OrientDB in Windows 10. Now you can enjoy the advantages of this NoSQL database manager. All right, that&#8217;s it for the moment. Before saying goodbye, I invite you to read our tutorial about <a rel="noreferrer noopener" aria-label="chocolatey (opens in a new tab)" href="https://www.osradar.com/how-to-install-chocolatey-in-windows-10/" target="_blank">chocolatey</a> in Windows 10</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orientdb-in-windows-10/">How to install OrientDB in Windows 10</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-orientdb-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Two ways to install NodeJS on Debian 10 Buster?</title>
		<link>https://www.osradar.com/two-ways-to-install-nodejs-debian-10-buster/</link>
					<comments>https://www.osradar.com/two-ways-to-install-nodejs-debian-10-buster/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 18 Jul 2019 23:00:43 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web programming]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12731</guid>

					<description><![CDATA[<p>Debian 10 Buster is one of the best operating systems for application development. And in fact almost any kind, including the web. In this sense, you have the possibility to install enough tools to improve the power of these applications. Among them NodeJS. If you are a web developer or are just starting, you will [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/two-ways-to-install-nodejs-debian-10-buster/">Two ways to install NodeJS on Debian 10 Buster?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Debian 10 Buster is one of the best operating systems for application development. And in fact almost any kind, including the web. In this sense, you have the possibility to install enough tools to improve the power of these applications. Among them NodeJS. If you are a web developer or are just starting, you will love this post, because you will learn two ways to install NodeJS on <a href="https://www.osradar.com/tag/buster/" rel="noopener">Debian 10</a>, Buster.</p>
<h2>A brief review of NodeJS</h2>
<p>If you are an expert developer or already have some experience with it, you will know it is NodeJS. However, in case you are starting with it, it is a good idea to know what NodeJS is first.</p>
<p><a href="https://nodejs.org/" rel="noopener">NodeJS</a> is a technology that allows running Javascript on the server-side using Google&#8217;s V8 engine. It is a real revolution in the way web applications are developed because it reduces the asymmetry of client and server performance.</p>
<p>Many important forms such as Linkedin or eBay were created using this technology. This shows us the power of NodeJS.</p>
<p>An advantage of NodeJS is that its syntax is similar to that of Javascript and therefore its learning curve decreases a lot.</p>
<h2>Two ways to install NodeJS on Debian 10 Buster</h2>
<p>A great advantage of using Linux is that there are usually several ways to install a program. NodeJS is one of those programs. There are at least two ways to install NodeJS on <a href="https://www.osradar.com/tag/buster/" rel="noopener">Debian 10</a>, each with advantages and disadvantages and responds to specific needs in each case.</p>
<h3>1) Using the Debian 10 repositories</h3>
<p>Debian 10 Buster includes quite a few different applications in its official repositories. Fortunately, NodeJS is in the repositories, particularly there is version <code>10.15.2</code>. That belongs to the LTS series.</p>
<p>So open a terminal and run the following command:</p>
<pre>:~$ sudo apt install nodejs</pre>
<p>image</p>
<p>Then, check the installed version.</p>
<pre>:~$ node -v
v10.15.2</pre>
<h3>2) Using NVM to install NodeJS on Debian 10</h3>
<p>The first method is quite safe and reliable but has a possible problem. NodeJS has a pretty active development and there are already newer versions than Debian 10 in its repositories.</p>
<p>For example, of the LTS series and NodeJS 10.16.0 is available (at the time of writing this post, that is the most recent LTS version) and of all the development the latest stable version (at the time of writing this post) is 12.6.0.</p>
<p>So, if you want to take advantage of the features of the application, this method can make things easier for you.</p>
<p>Open a terminal session and type the following command to install curl.</p>
<pre>:~$ sudo apt install curl</pre>
<p>Then we will use curl to get the NVM installer.</p>
<pre>:~$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash</pre>
<p><figure id="attachment_12745" aria-describedby="caption-attachment-12745" style="width: 786px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12745" src="https://www.osradar.com/wp-content/uploads/2019/07/1-1.jpeg" alt="1.- Getting NVM on Debian 10" width="786" height="357" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-1.jpeg 786w, https://www.osradar.com/wp-content/uploads/2019/07/1-1-300x136.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-1-768x349.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-1-696x316.jpeg 696w" sizes="(max-width: 786px) 100vw, 786px" /><figcaption id="caption-attachment-12745" class="wp-caption-text">1.- Getting NVM on Debian 10</figcaption></figure></p>
<p>Now in order to be able to use NVM from the terminal, we need to refresh our bash profile file.</p>
<pre>:~$ source ~/.profile</pre>
<p>To see all the versions of NodeJS you can install, use the following command:</p>
<pre>:~$ nvm ls-remote</pre>
<p><figure id="attachment_12746" aria-describedby="caption-attachment-12746" style="width: 566px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12746" src="https://www.osradar.com/wp-content/uploads/2019/07/2-1.jpeg" alt="2.- All NodeJS versions" width="566" height="708" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-1.jpeg 566w, https://www.osradar.com/wp-content/uploads/2019/07/2-1-240x300.jpeg 240w, https://www.osradar.com/wp-content/uploads/2019/07/2-1-336x420.jpeg 336w" sizes="(max-width: 566px) 100vw, 566px" /><figcaption id="caption-attachment-12746" class="wp-caption-text">2.- All NodeJS versions</figcaption></figure></p>
<p>And choose the version you want. In this case, choose the latest stable version.</p>
<pre>:~$ nvm install 12.6.0</pre>
<p><figure id="attachment_12747" aria-describedby="caption-attachment-12747" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12747" src="https://www.osradar.com/wp-content/uploads/2019/07/3-1.jpeg" alt="3.- Install NodeJS on Debian 10" width="1366" height="169" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-1.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-1-300x37.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-1-768x95.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-1-1024x127.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-1-696x86.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-1-1068x132.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12747" class="wp-caption-text">3.- Install NodeJS on Debian 10</figcaption></figure></p>
<p>Replace 12.6.0 with the version you want.</p>
<p>Check the installed version:</p>
<pre>:~$ node -v
v12.6.0</pre>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>NodeJS is a cutting-edge technology for the development of web applications. In this post, you have learned two different ways to install it on Debian 10, Buster.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/two-ways-to-install-nodejs-debian-10-buster/">Two ways to install NodeJS on Debian 10 Buster?</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/two-ways-to-install-nodejs-debian-10-buster/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Yarn on Ubuntu 18.04 / Ubuntu 19.04?</title>
		<link>https://www.osradar.com/how-to-install-yarn-on-ubuntu-18-04-ubuntu-19-04/</link>
					<comments>https://www.osradar.com/how-to-install-yarn-on-ubuntu-18-04-ubuntu-19-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 01 May 2019 05:00:27 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[Disco Dingo]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11956</guid>

					<description><![CDATA[<p>The management of dependencies in a programming project is vital. That is, with certain tools we can control everything related to the project libraries. Especially in web applications where a lot of libraries and components are required for a site or web application to be modern and functional. For example, a modern website needs Javascript [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-yarn-on-ubuntu-18-04-ubuntu-19-04/">How to install Yarn on Ubuntu 18.04 / Ubuntu 19.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The management of dependencies in a programming project is vital. That is, with certain tools we can control everything related to the project libraries. Especially in web applications where a lot of libraries and components are required for a site or web application to be modern and functional. For example, a modern website needs Javascript libraries to make it functional and didactic to the user. If there is a tool that helps us with this, everything becomes problems. Therefore, in this post, I will teach you how to install Yarn on Ubuntu 18.04 or Ubuntu 19.04.</p>
<p><a href="https://yarnpkg.com">Yarn</a> is a Javascript dependency manager that stands out for being fast, secure and reliable. It is presented to us as the most solid alternative to NPM. In addition, it is open source and it has the protection of a giant like <a href="https://www.osradar.com/facebook-vulnerability-affecting-50-million-users/">Facebook</a> what guarantees us solidity and robustness of the project. Some of its characteristics are the following:</p>
<ul>
<li>Fast: Yarn caches every package it has downloaded.</li>
<li>Reliable: Using a detailed but concise lockfile format and a deterministic algorithm for install operations.</li>
<li>Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed.</li>
</ul>
<p>There are also other features such as its efficiency in the use of the network as well as an offline mode. All this can be found on the <a href="https://github.com/yarnpkg/yarn">Github site</a> of Yarn.</p>
<h2>Install Yarn on Ubuntu</h2>
<p>The process is very simple since Yarn has a package repository at our disposal. This means that the installation can be done from the terminal and using APT. So let&#8217;s go for it.</p>
<p>First, open a terminal emulator. Then, add the GPG key from the repository.</p>
<pre>:~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -</pre>
<p>Then, add the Yarn repository.</p>
<pre>:~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list</pre>
<p><figure id="attachment_11957" aria-describedby="caption-attachment-11957" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11957" src="https://www.osradar.com/wp-content/uploads/2019/04/1-17.png" alt="1.- Adding the Yarn repository" width="1366" height="741" srcset="https://www.osradar.com/wp-content/uploads/2019/04/1-17.png 1366w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2019/04/1-17-774x420.png 774w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11957" class="wp-caption-text">1.- Adding the Yarn repository</figcaption></figure></p>
<p>After that, update the APT cache.</p>
<pre>:~$ sudo apt update</pre>
<p>If we are currently using Nodejs and NPM, we can install Yarn using the following command:</p>
<pre>:~$ sudo apt-get install --no-install-recommends yarn</pre>
<p>Otherwise, we will use this one.</p>
<pre>:~$ sudo apt-get install yarn</pre>
<p><figure id="attachment_11958" aria-describedby="caption-attachment-11958" style="width: 766px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11958" src="https://www.osradar.com/wp-content/uploads/2019/04/2-16.png" alt="2.- Install Yarn on Ubuntu" width="766" height="376" srcset="https://www.osradar.com/wp-content/uploads/2019/04/2-16.png 766w, https://www.osradar.com/wp-content/uploads/2019/04/2-16-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/2-16-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/04/2-16-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/04/2-16-696x342.png 696w" sizes="(max-width: 766px) 100vw, 766px" /><figcaption id="caption-attachment-11958" class="wp-caption-text">2.- Install Yarn on Ubuntu</figcaption></figure></p>
<p>The main difference is that <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/">NodeJS</a> is dependent on Yarn. Then, the second command will install it from Ubuntu repositories. And the first one will leave everything as it is.</p>
<p>Next, check the installed version.</p>
<pre>:~$ yarn --version</pre>
<p><figure id="attachment_11959" aria-describedby="caption-attachment-11959" style="width: 765px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11959" src="https://www.osradar.com/wp-content/uploads/2019/04/3-15.png" alt="3.- Yarn version" width="765" height="117" srcset="https://www.osradar.com/wp-content/uploads/2019/04/3-15.png 765w, https://www.osradar.com/wp-content/uploads/2019/04/3-15-300x46.png 300w, https://www.osradar.com/wp-content/uploads/2019/04/3-15-696x106.png 696w" sizes="(max-width: 765px) 100vw, 765px" /><figcaption id="caption-attachment-11959" class="wp-caption-text">3.- Yarn version</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>Yarn is a great alternative to NPM to manage the dependencies of our web projects. So it becomes essential if we are web developers or we are learning in it.</p>
<p>Please share this post with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-yarn-on-ubuntu-18-04-ubuntu-19-04/">How to install Yarn on Ubuntu 18.04 / Ubuntu 19.04?</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-yarn-on-ubuntu-18-04-ubuntu-19-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
