<?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>Programming language Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/programming-language/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 21 Oct 2022 13:34:56 +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>Take a look at the easiest languages to learn to program from scratch.</title>
		<link>https://www.osradar.com/take-a-look-at-the-easiest-languages-to-learn-to-program-from-scratch/</link>
					<comments>https://www.osradar.com/take-a-look-at-the-easiest-languages-to-learn-to-program-from-scratch/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 27 May 2022 21:19:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=36038</guid>

					<description><![CDATA[<p>The programming is more relevant than ever. Consequently, an increasing number of users now want to learn how to program their software projects. There are many reasons for this on both a personal and professional level. For example, there are users who enter the programming sector for personal development, for professional reasons, or to increase [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/take-a-look-at-the-easiest-languages-to-learn-to-program-from-scratch/">Take a look at the easiest languages to learn to program from scratch.</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 programming is more relevant than ever. Consequently, an increasing number of users now want to learn how to program their software projects. There are many reasons for this on both a personal and professional level. For example, there are users who enter the programming sector for <a href="https://high5test.com/personal-development/">personal development</a>, for professional reasons, or to increase their training. The first thing you need to know is that programming covers a huge number of possibilities. Everything will depend on the type of software we want to develop or how much we are going to deepen. It may be that we just want to learn how to create simple programs for our use. Or we would like to create code that is part of larger projects. Maybe you are interested in getting into the world of video games. So, we will know the easiest languages to learn to program from scratch.</p>



<h2>The easiest languages to start programming</h2>



<p>If you are looking to test your application development skills, it is best to start learning slowly. Here are some of the programming languages that are especially suitable for beginners.</p>



<ul><li><a href="" target="_blank" rel="noreferrer noopener">Ruby:</a> if you have zero knowledge in everything related to software development, this is one of the most interesting proposals you will find. It could be considered one of the most fascinating and affordable languages to start programming. Despite being a veteran proposal, we must consider that since its inception, it was designed to facilitate the arrival of new programmers. This allows us to begin to understand structures and execute examples from the beginning.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" width="600" height="600" src="https://www.osradar.com/wp-content/uploads/2022/05/pro.png" alt="" class="wp-image-36039" srcset="https://www.osradar.com/wp-content/uploads/2022/05/pro.png 600w, https://www.osradar.com/wp-content/uploads/2022/05/pro-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/05/pro-150x150.png 150w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<ul><li><a href="" target="_blank" rel="noreferrer noopener">JavaScript:</a> on the other hand, we find a proposal that is more than familiar to most people. In fact, you have probably heard of it. In addition, it offers a good number of professional opportunities. Therefore, it is one of the most widespread and used alternatives to learn to program. A point in its favor is that we can work with this language on all types of platforms, both mobile and desktop.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" width="800" height="800" src="https://www.osradar.com/wp-content/uploads/2022/05/pro2.png" alt="" class="wp-image-36040" srcset="https://www.osradar.com/wp-content/uploads/2022/05/pro2.png 800w, https://www.osradar.com/wp-content/uploads/2022/05/pro2-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/05/pro2-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2022/05/pro2-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2022/05/pro2-696x696.png 696w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<ul><li><a href="https://www.python.org/" target="_blank" rel="noreferrer noopener">Python</a>: if you are a complete novice in this sector, Phyton is one of the most affordable proposals. It is generally used in both web and desktop projects. Moreover, it has been growing steadily over the last few years. Certainly, it is easy to learn. However, we must also consider that this language is very widespread in everything related to artificial intelligence. It is characterized by its object-oriented programming and easy-to-understand structures.</li></ul>



<h2>Conclusion</h2>



<p>Very well, in this way we have seen some of the easiest languages to learn to program from scratch. Keep in mind that this choice depends on several factors. Indeed, exactly what you want to program influences a lot. This way you can make the right choice. However, I can assure you that these languages are the best way to start. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/take-a-look-at-the-easiest-languages-to-learn-to-program-from-scratch/">Take a look at the easiest languages to learn to program from scratch.</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/take-a-look-at-the-easiest-languages-to-learn-to-program-from-scratch/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Nim programming language on Ubuntu 20.04 / Debian 10</title>
		<link>https://www.osradar.com/nim-programming-language-ubuntu-debian/</link>
					<comments>https://www.osradar.com/nim-programming-language-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 25 Nov 2020 00:10:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[nim]]></category>
		<category><![CDATA[nim programming language]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=19682</guid>

					<description><![CDATA[<p>Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That is why it must be efficient languages with new technical features that can be brought to the program and the end-user. Today we will teach you how to install Nim programming [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nim-programming-language-ubuntu-debian/">Install Nim programming language on Ubuntu 20.04 / Debian 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>Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That is why it must be efficient languages with new technical features that can be brought to the program and the end-user. <strong>Today we will teach you how to install Nim programming language on Ubuntu 20.04 / Debian 10. </strong></p>



<p>To quote the <a href="https://nim-lang.org/" target="_blank" rel="noreferrer noopener" aria-label="website of this programming language (opens in a new tab)">website of this programming language</a>:</p>



<blockquote class="wp-block-quote"><p>Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada, and Modula.</p></blockquote>



<p>This gives us a pretty good idea that the language meets everything needed to create modern applications. </p>



<p>Like all modern languages, it has versions for <a href="https://www.osradar.com/tag/windows" target="_blank" rel="noreferrer noopener" aria-label="Windows (opens in a new tab)">Windows</a>, Linux, macOS, and BSD. This makes it possible to run on almost all current systems. This also makes it possible for the programmer to choose the environment where he feels best.</p>



<p>Nim is an object-oriented language with a syntax similar to <a rel="noreferrer noopener" aria-label="Python (opens in a new tab)" href="https://www.osradar.com/tag/python" target="_blank">Python</a>&#8216;s with even similar characteristics.</p>



<p>So, let us get to work.</p>



<h2>Installing Nim programming language on Ubuntu 20.04 / Debian 10</h2>



<p>In Ubuntu 20.04 / Debian 10 Nim is included in the official repositories. Therefore the installation becomes quite simple and is summarized too in</p>



<pre class="wp-block-preformatted">:~$ sudo apt install nim</pre>



<p><strong>However, this method is not recommended because the latest Nim version is not installed. </strong></p>



<p>So there is another method that allows us to install the latest stable version, but also the development version.</p>



<p>To install it, there is a script that we have to download and run but first, we have to install the Debian compilation packages.</p>



<p>So, open a terminal and execute the following command</p>



<pre class="wp-block-preformatted">:~$ sudo apt install build-essential
Reading package lists… Done
 Building dependency tree       
 Reading state information… Done
 The following additional packages will be installed:
   binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 dpkg-dev fakeroot g++ g++-8 gcc gcc-8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
   libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-8-dev libgomp1
   libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++-8-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev patch
 Suggested packages:
   binutils-doc cpp-doc gcc-8-locales debian-keyring g++-multilib g++-8-multilib gcc-8-doc libstdc++6-8-dbg gcc-multilib autoconf automake libtool flex bison gdb
   gcc-doc gcc-8-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg
   glibc-doc git bzr libstdc++-8-doc make-doc ed diffutils-doc
 The following NEW packages will be installed:
   binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-8 dpkg-dev fakeroot g++ g++-8 gcc gcc-8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
   libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-8-dev libgomp1
   libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++-8-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev patch
 0 upgraded, 40 newly installed, 0 to remove and 54 not upgraded.
 Need to get 49.4 MB of archives.
 After this operation, 185 MB of additional disk space will be used.
 Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="286" src="https://www.osradar.com/wp-content/uploads/2020/04/1-7-1024x286.png" alt="1.- Installing the build package " class="wp-image-19683" srcset="https://www.osradar.com/wp-content/uploads/2020/04/1-7-1024x286.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/1-7-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/1-7-768x214.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/1-7-696x194.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/1-7-1068x298.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/1-7.png 1334w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing the build package </figcaption></figure>



<p>When the installation is finished, we will be able to execute the installation script.</p>



<pre class="wp-block-preformatted">:~$ curl https://nim-lang.org/choosenim/init.sh -sSf | sh
choosenim-init: Downloading choosenim-0.6.0_linux_amd64
 Downloading Nim 1.2.0 from nim-lang.org
 [##################################################] 100.0% 0kb/s
  Extracting nim-1.2.0-linux_x64.tar.xz
    Building Nim 1.2.0
   Compiler: Already built
      Tools: Already built
   Installed component 'nim'
   Installed component 'nimble'
   Installed component 'nimgrep'
   Installed component 'nimpretty'
   Installed component 'nimsuggest'
   Installed component 'testament'
    Switched to Nim 1.2.0
 choosenim-init: ChooseNim installed in /home/angelo/.nimble/bin
 choosenim-init: You must now ensure that the Nimble bin dir is in your PATH.
 choosenim-init: Place the following line in the ~/.profile or ~/.bashrc file.
 choosenim-init:     export PATH=/home/angelo/.nimble/bin:$PATH</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="771" height="373" src="https://www.osradar.com/wp-content/uploads/2020/04/2-5.png" alt="2.- Install Nim programming language on Ubuntu 20.04 /Debian 10" class="wp-image-19684" srcset="https://www.osradar.com/wp-content/uploads/2020/04/2-5.png 771w, https://www.osradar.com/wp-content/uploads/2020/04/2-5-300x145.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/2-5-768x372.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/2-5-696x337.png 696w" sizes="(max-width: 771px) 100vw, 771px" /><figcaption>2.- Install Nim programming language on Ubuntu 20.04 /Debian 10</figcaption></figure>



<p>In case curl is not installed you can install it with the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install curl</pre>



<p>Then have Nim installed. We have to make it available throughout the system.</p>



<p>So edit the <code>~/.profile</code> file:</p>



<pre class="wp-block-preformatted">:~$ nano ~/.profile</pre>



<p>And add the following:</p>



<pre class="wp-block-preformatted">export PATH=/home/your-home/.nimble/bin:$PATH</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="573" height="163" src="https://www.osradar.com/wp-content/uploads/2020/04/3-5.png" alt="3.- Editing the profile file" class="wp-image-19685" srcset="https://www.osradar.com/wp-content/uploads/2020/04/3-5.png 573w, https://www.osradar.com/wp-content/uploads/2020/04/3-5-300x85.png 300w" sizes="(max-width: 573px) 100vw, 573px" /><figcaption>3.- Editing the profile file</figcaption></figure>



<p>Replace <code>"your-home"</code> with your username or home.</p>



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



<p>Appley the change by running:</p>



<pre class="wp-block-preformatted">:~$ nim -v
Nim Compiler Version 1.2.0 [Linux: amd64]
 Compiled at 2020-04-03
 Copyright (c) 2006-2020 by Andreas Rumpf
 active boot switches: -d:release</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="710" height="159" src="https://www.osradar.com/wp-content/uploads/2020/04/4-4.png" alt="4.- Nim version" class="wp-image-19686" srcset="https://www.osradar.com/wp-content/uploads/2020/04/4-4.png 710w, https://www.osradar.com/wp-content/uploads/2020/04/4-4-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/4-4-696x156.png 696w" sizes="(max-width: 710px) 100vw, 710px" /><figcaption>4.- Nim version</figcaption></figure>



<h2>Testing Nim Installation</h2>



<p>Now it is time to test if the installation has worked.</p>



<p>So we&#8217;ll create the classic test program by displaying a message. This will serve the purpose.</p>



<p>The code files for the Nim language, they have a nim extension. So we will create one:</p>



<pre class="wp-block-preformatted">:~$ nano hello.nim</pre>



<p>And within this file add the following content:</p>



<pre class="wp-block-preformatted">echo "Hi, Osradar"</pre>



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



<p>Now, compile the source file to generate the executable binary.</p>



<pre class="wp-block-preformatted">:~$ nim c hello.nim
Hint: used config file '/home/angelo/.choosenim/toolchains/nim-1.2.0/config/nim.cfg' [Conf]
 Hint: system [Processing]
 Hint: widestrs [Processing]
 Hint: io [Processing]
 Hint: hello [Processing]
 Hint: gcc -c  -w   -I/home/angelo/.choosenim/toolchains/nim-1.2.0/lib -I/home/angelo -o /home/angelo/.cache/nim/hello_d/stdlib_io.nim.c.o /home/angelo/.cache/nim/hello_d/stdlib_io.nim.c [Exec]
 Hint: gcc -c  -w   -I/home/angelo/.choosenim/toolchains/nim-1.2.0/lib -I/home/angelo -o /home/angelo/.cache/nim/hello_d/stdlib_system.nim.c.o /home/angelo/.cache/nim/hello_d/stdlib_system.nim.c [Exec]
 Hint: gcc -c  -w   -I/home/angelo/.choosenim/toolchains/nim-1.2.0/lib -I/home/angelo -o /home/angelo/.cache/nim/hello_d/@mhello.nim.c.o /home/angelo/.cache/nim/hello_d/@mhello.nim.c [Exec]
 Hint:  [Link]
 Hint: 14211 LOC; 3.140 sec; 15.887MiB peakmem; Debug build; proj: /home/angelo/hello.nim; out: /home/angelo/hello [SuccessX]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="209" src="https://www.osradar.com/wp-content/uploads/2020/04/6-4-1024x209.png" alt="6.- Testing nim on Ubuntu 20.04 /Debian 10" class="wp-image-19687" srcset="https://www.osradar.com/wp-content/uploads/2020/04/6-4-1024x209.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/6-4-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/6-4-768x156.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/6-4-696x142.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/6-4-1068x218.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/6-4.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Testing nim on Ubuntu 20.04 /Debian 10</figcaption></figure>



<p>Remember that you have to specify the source file but also the full path.</p>



<p>Then, run it as follows:</p>



<pre class="wp-block-preformatted">~$ ./hello</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="633" height="104" src="https://www.osradar.com/wp-content/uploads/2020/04/7-4.png" alt="7.- Nim programming language working on Ubuntu 20.04 / Debian 10" class="wp-image-19688" srcset="https://www.osradar.com/wp-content/uploads/2020/04/7-4.png 633w, https://www.osradar.com/wp-content/uploads/2020/04/7-4-300x49.png 300w" sizes="(max-width: 633px) 100vw, 633px" /><figcaption>7.- Nim programming language working on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>So now we know that nim works and you can start working with him.</p>



<h2>Conclusion</h2>



<p>Programming is very important nowadays, so it requires programming languages to match. Today we have taught you how to install Nim on Ubuntu 20.04 / Debian 10 so you can have an ideal partner to make your applications.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel (opens in a new tab)">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nim-programming-language-ubuntu-debian/">Install Nim programming language on Ubuntu 20.04 / Debian 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/nim-programming-language-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Easily install ruby on Windows 10 with RubyInstaller</title>
		<link>https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/</link>
					<comments>https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 12 Jan 2020 22:46:39 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[rubyinstaller]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17642</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? In this post, we&#8217;ll talk a little bit about Ruby. This is an interpreted, reflexive and object-oriented programming language created by Japanese programmer Yukihiro &#8220;Matz&#8221; Matsumoto. On the other hand, Ruby is designed for the developer&#8217;s productivity and fun, following the principles of a good User Interface. In addition, it combines Python [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/">Easily install ruby on Windows 10 with RubyInstaller</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? In this post, we&#8217;ll talk a little bit about Ruby.  This is an interpreted, reflexive and object-oriented programming language created by Japanese programmer Yukihiro &#8220;Matz&#8221; Matsumoto. On the other hand, Ruby is designed for the developer&#8217;s productivity and fun, following the principles of a good User Interface. In addition, it combines Python and Perl inspired syntax with Smalltalk-like object-oriented programming features. It is a general-purpose language, meaning that with Ruby you can develop all kinds of different applications. Also, it is an interpreted language, that is, it is not compiled. On the other hand, it is high-level, dynamic and flexible. Finally, it is a multiplatform, free and open source. All these features, making it very interesting to use. So, let&#8217;s see how to install Ruby on Windows 10.</p>



<h2>Downloading RubyInstaller</h2>



<p>As mentioned in the title, we&#8217;ll be using RubyInstaller to install Ruby on Windows 10. In the first place, go to the RubyInstaller page. In the <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://rubyinstaller.org/downloads/" target="_blank">download</a> section, please choose the version corresponding to your computer&#8217;s architecture. At the time of writing this post, the most recent version is 2.6.5.-1. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby.jpg" alt="The download section of the RubyInstaller website" class="wp-image-17643" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/ruby-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The download section of the RubyInstaller website</figcaption></figure>



<p>Once the installer is downloaded, simply run it to start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby2.jpg" alt="Accept the license" class="wp-image-17644" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby2.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby2-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby2-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Accept the license</figcaption></figure>



<p>The following box shows various configuration options. It&#8217;s a good idea to check all of them since this adds Ruby to the PATH, as well as associates the .rb and .rbw files with the Ruby installation. It is also possible to choose UTF-8 as the external encoding parameter.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby3.jpg" alt="Set Ruby installation options" class="wp-image-17646" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby3.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby3-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby3-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Set Ruby installation options</figcaption></figure>



<p>However, some gems or packages require compiling in C, so select the option to install MSYS2.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby4.jpg" alt="Install MSYS2 development toolchain." class="wp-image-17648" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby4.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby4-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby4-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Install MSYS2 development toolchain.</figcaption></figure>



<p>Once all the preparations have been made, the wizard will start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby5.jpg" alt="The wizard running the Ruby installation" class="wp-image-17650" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby5.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby5-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby5-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>The wizard running the Ruby installation</figcaption></figure>



<p>Wait a few seconds while the assistant does his job. Finally, select the option to run the ridk install. This will install the MSYS2 and the development toolchain.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="504" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby6.jpg" alt="Complete the installation and install MSYS2" class="wp-image-17651" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby6.jpg 504w, https://www.osradar.com/wp-content/uploads/2020/01/ruby6-300x230.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby6-80x60.jpg 80w" sizes="(max-width: 504px) 100vw, 504px" /><figcaption>Complete the installation and install MSYS2</figcaption></figure>



<p>A new window will be displayed immediately to continue the installation. Please leave everything by default to execute a full installation. Press enter to start the process.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="280" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby7.jpg" alt="Start the installation of MSYS2" class="wp-image-17652" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby7.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-300x82.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-768x210.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby7-696x190.jpg 696w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Start the installation of MSYS2</figcaption></figure>



<p>After a few minutes, the word success will appear in the window. This means that the installation was completed. Please close the window.</p>



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



<h2>Runs the interactive mode in Ruby</h2>



<p>To check the performance of the Ruby interpreter, simply open a CMD and run the following command:</p>



<pre class="wp-block-preformatted">irb</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/01/ruby10.jpg" alt="Starting Ruby's interactive mode." class="wp-image-17655" srcset="https://www.osradar.com/wp-content/uploads/2020/01/ruby10.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-300x150.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-768x384.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-696x348.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/01/ruby10-840x420.jpg 840w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Starting Ruby&#8217;s interactive mode.</figcaption></figure>



<p>To exit, simply type the following command:</p>



<pre class="wp-block-preformatted">exit</pre>



<p>Ultimately we have seen how to install Ruby on Windows 10. From now on you can use this powerful programming language. Before I say goodbye, I invite you to check out our post about <a href="https://www.osradar.com/how-to-install-django-on-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="Django (opens in a new tab)">Django</a> on Windows 10.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/easily-install-ruby-on-windows-10-with-rubyinstaller/">Easily install ruby on Windows 10 with RubyInstaller</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/easily-install-ruby-on-windows-10-with-rubyinstaller/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.4 on CentOS 8?</title>
		<link>https://www.osradar.com/install-php-74-centos-8/</link>
					<comments>https://www.osradar.com/install-php-74-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 24 Dec 2019 00:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php 7.4]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16832</guid>

					<description><![CDATA[<p>A new version of PHP has come out and it’s time to install it on our servers. So in this post, you will learn how to install PHP 7.4 on CentOS 8. Having this version, you will be able to take better advantage of running websites. As we know, PHP is a programming language widely [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-74-centos-8/">How to install PHP 7.4 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>A new version of PHP has come out and it’s time to install it on our servers. So in this post, you will learn<strong> how to install PHP 7.4 on CentOS 8</strong>. Having this version, you will be able to take better advantage of running websites.</p>



<p>As we know, <a href="https://osradar.com/tag/php/">PHP</a> is a  programming language widely used all over the world. In fact, most of the web sites and applications use it. Therefore, it is to be assumed that most servers need it.</p>



<p>By default, CentOS 8 includes version 7.2 in its official repositories. It&#8217;s actually a good version that will be supported for a while longer, but the language is advancing more and more every day. So, it is a good idea to install recent versions.</p>



<p>So, let us start.</p>



<h2>Install PHP 7.4 on CentOS 8</h2>



<h3>Installing Apache web server on CentOS 8</h3>



<p>Okay, the first step is to install a web server. It can be <a href="https://www.osradar.com/tag/apache" target="_blank" rel="noreferrer noopener" aria-label="Apache (opens in a new tab)">Apache</a> or <a href="https://www.osradar.com/tag/nginx" target="_blank" rel="noreferrer noopener" aria-label="Nginx (opens in a new tab)">Nginx</a> but in this case, I will use Apache. So I am going to install it.</p>



<p>Open a terminal session and run the following:</p>



<pre class="wp-block-preformatted">:~$ su
:~# dnf install httpd</pre>



<p>After the installation is completed, the apache service must be started. We can also enable it to start together with the system:</p>



<pre class="wp-block-preformatted">:~# systemctl enable httpd
:~# systemctl start httpd</pre>



<p>Then, you have to open the ports where the server works. Without this, we won&#8217;t have access to the documents on the server.</p>



<pre class="wp-block-preformatted">:~# firewall-cmd --add-port=80/tcp --permanent --zone=public
success
:~# firewall-cmd --add-port=443/tcp --permanent --zone=public
success
:~# firewall-cmd --reload
success</pre>



<p>Now, we can install PHP 7.4 on CentOS 8.</p>



<h3>PHP&#8217;s turn</h3>



<p>To install PHP 7.4 we will use the REMI repository. It is quite stable and has a long history of use. But, first, we will have to enable the EPEL repository. We can do this with the following command:</p>



<pre class="wp-block-preformatted">:~# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="283" src="https://www.osradar.com/wp-content/uploads/2019/12/1-9-1024x283.png" alt="1.- Enabling the EPEL repository on CentOS 8" class="wp-image-16833" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-9-1024x283.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-696x192.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-1068x295.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-9.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Enabling the EPEL repository on CentOS 8</figcaption></figure>



<p>Next, we proceed to add the REMI repository for CentOS 8.</p>



<pre class="wp-block-preformatted">:~# dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="261" src="https://www.osradar.com/wp-content/uploads/2019/12/2-8-1024x261.png" alt="2.- Adding the REMI repository" class="wp-image-16834" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-8-1024x261.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-768x196.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-1068x272.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/2-8.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Adding the REMI repository</figcaption></figure>



<p>The REMI repository contains a large number of packages. By default, only those belonging to REMI-Safe are enabled. So, you have to enable REMI-7.4.</p>



<pre class="wp-block-preformatted">:~# dnf module enable php:remi-7.4</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="249" src="https://www.osradar.com/wp-content/uploads/2019/12/3-9-1024x249.png" alt="3.- Enabling the PHP 7.4 series" class="wp-image-16835" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-9-1024x249.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-300x73.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-768x187.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-696x169.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-1068x260.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/3-9.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Enabling the PHP 7.4 series</figcaption></figure>



<p>And now we can install PHP 7.4 and its modules without problems.</p>



<pre class="wp-block-preformatted">:~# dnf install php php-common php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-xml</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="535" src="https://www.osradar.com/wp-content/uploads/2019/12/4-7-1024x535.png" alt="4.- Install PHP 7.4 on CentOS 8" class="wp-image-16836" srcset="https://www.osradar.com/wp-content/uploads/2019/12/4-7-1024x535.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-1068x558.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-804x420.png 804w, https://www.osradar.com/wp-content/uploads/2019/12/4-7.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Install PHP 7.4 on CentOS 8</figcaption></figure>



<p>Now we are going to prove that it all worked out. The best way to do this is to run PHP.</p>



<p>So, I am going to create a file called <code>test.php</code> in the apache root folder and add the <strong>phpinfo</strong> method to it.</p>



<pre class="wp-block-preformatted">:~# nano /var/www/html/test.php</pre>



<p>Save the changes and close the editor.</p>



<p>Then, restart the apache service:</p>



<pre class="wp-block-preformatted">:~# systemctl restart httpd</pre>



<p>Now open your web browser and go to <code>http://your-server/test.php</code> and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2019/12/5-7-1024x506.png" alt="5.- PHP 7.4 on CentOS 8" class="wp-image-16837" srcset="https://www.osradar.com/wp-content/uploads/2019/12/5-7-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-850x420.png 850w, https://www.osradar.com/wp-content/uploads/2019/12/5-7.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- PHP 7.4 on CentOS 8</figcaption></figure>



<p>So, enjoy it.</p>



<p>Also, you can read all the features of this version in <a rel="noreferrer noopener" aria-label="this (opens in a new tab)" href="https://www.php.net/releases/7_4_0.php" target="_blank">this</a> link.</p>



<p>Finally, you can read these related posts:</p>



<p><a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" target="_blank" rel="noreferrer noopener" aria-label="How to install LAMP on CentOS 8? (opens in a new tab)">How to install LAMP on CentOS 8?</a></p>



<p><a rel="noreferrer noopener" aria-label="How to install PHP 7.4 on OpenSUSE 15.1? (opens in a new tab)" href="https://www.osradar.com/install-php-7-4-opensuse-15-1" target="_blank">How to install PHP 7.4 on OpenSUSE 15.1?</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-74-centos-8/">How to install PHP 7.4 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/install-php-74-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.3 on CentOS 8?</title>
		<link>https://www.osradar.com/install-php-7-3-centos-8/</link>
					<comments>https://www.osradar.com/install-php-7-3-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 14 Oct 2019 00:13:02 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 7.3]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14258</guid>

					<description><![CDATA[<p>Every application developer must use recent versions of the language. This is because it allows him to take advantage of all the potential of language and above all for security reasons. However, distributions such as CentOS 8 do not provide the latest stable versions of programs because it uses freezing phases of the software that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-7-3-centos-8/">How to install PHP 7.3 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>Every application developer must use recent versions of the language. This is because it allows him to take advantage of all the potential of language and above all for security reasons. However, distributions such as CentOS 8 do not provide the latest stable versions of programs because it uses freezing phases of the software that is then tested and when there are no serious failures is considered stable. This brings a great advantage that is stability but also brings a disadvantage that is the absence of the most recent packages. However, the community always finds a way to solve the problem through stable and secure third-party repositories. Well, in the case of PHP it happens similarly. CentOS 8 comes with PHP 7.2 in its repositories, but PHP 7.3 already exists. In this post, you will learn<strong> how to install PHP 7.3 on CentOS 8</strong>.</p>
<p><a href="https://www.osradar.com/tag/php/" target="_blank" rel="noopener noreferrer">PHP</a> is very known. This web-oriented language is widely known for its ease of learning and its power. Fortunately, PHP development is quite active and from time to time we have a new version that helps to improve the stability and security of the applications made with the language. Then, it is convenient to develop with recent versions of the language. Or in the case of servers, it is convenient to have updated libraries and languages so that new applications can run correctly.</p>
<p>Well, let&#8217;s get started.</p>
<h2>Install PHP 7.3 on CentOS 8</h2>
<p>First of all, I always recommend updating the operating system completely, before performing any operation on it.</p>
<p>Open a terminal and run:</p>
<pre lang="es-ES">:~$ su
:~# dnf update</pre>
<p>Now you will have a more secure system thanks to the security patches installed during the upgrade.</p>
<p>PHP 7.3 is available thanks to the REMI repository. The problem is that this repository depends on the EPEL repository. This repository must be enabled.</p>
<p>To enable the EPEL repository, just execute the following command:</p>
<pre>:~$ rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</pre>
<p><figure id="attachment_14487" aria-describedby="caption-attachment-14487" style="width: 870px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14487" src="https://www.osradar.com/wp-content/uploads/2019/10/1-7.png" alt="1.- Enabling the EPEL repository" width="870" height="194" srcset="https://www.osradar.com/wp-content/uploads/2019/10/1-7.png 870w, https://www.osradar.com/wp-content/uploads/2019/10/1-7-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/1-7-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/1-7-696x155.png 696w" sizes="(max-width: 870px) 100vw, 870px" /><figcaption id="caption-attachment-14487" class="wp-caption-text">1.- Enabling the EPEL repository</figcaption></figure></p>
<p>Once the corresponding package is installed, the EPEL repository will be activated. It&#8217;s that simple.</p>
<p>Then, we can enable the REMI repository which is where PHP 7.3 is. To do this, just use this command:</p>
<pre>:~$ dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm</pre>
<p><figure id="attachment_14487" aria-describedby="caption-attachment-14487" style="width: 870px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14487" src="https://www.osradar.com/wp-content/uploads/2019/10/2-5.png" alt="2.- Enabling the REMI repository to install PHP 7.3 on CentOS" width="870" height="194" /><figcaption id="caption-attachment-14487" class="wp-caption-text">2.- Enabling the REMI repository to install PHP 7.3 on CentOS</figcaption></figure></p>
<p>REMI is a fantastic repository because it has several versions of PHP available. In this case, we are interested in version 7.3. To enable this &#8220;section&#8221; of the repository, use the following command:</p>
<pre>:~$ dnf module enable php:remi-7.3</pre>
<p><figure id="attachment_14489" aria-describedby="caption-attachment-14489" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-14489 size-full" src="https://www.osradar.com/wp-content/uploads/2019/10/3-5.png" alt="3.- Enable the REMI repository" width="1365" height="347" srcset="https://www.osradar.com/wp-content/uploads/2019/10/3-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/10/3-5-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/3-5-768x195.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/3-5-1024x260.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/3-5-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/3-5-1068x271.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-14489" class="wp-caption-text">3.- Enable the REMI repository</figcaption></figure></p>
<p>Now, you can install PHP 7.3 with the following command:</p>
<pre>:~$ dnf install php php-cli php-common</pre>
<p><figure id="attachment_14490" aria-describedby="caption-attachment-14490" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14490" src="https://www.osradar.com/wp-content/uploads/2019/10/4-4.png" alt="4.- Install PHP 7.3 on CentOS 8" width="1365" height="718" srcset="https://www.osradar.com/wp-content/uploads/2019/10/4-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-768x404.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-1024x539.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-696x366.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-1068x562.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/4-4-798x420.png 798w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-14490" class="wp-caption-text">4.- Install PHP 7.3 on CentOS 8</figcaption></figure></p>
<p>This command will install the most basic language as the interpreter. Remember that if you are going to develop or serve applications you have to install the necessary PHP modules.</p>
<p>Finally, you can verify the installed version with the following command:</p>
<pre>:~$ php -v</pre>
<p><figure id="attachment_14492" aria-describedby="caption-attachment-14492" style="width: 742px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14492" src="https://www.osradar.com/wp-content/uploads/2019/10/5-5.png" alt="5.- PHP 7.3 correctly installed" width="742" height="133" srcset="https://www.osradar.com/wp-content/uploads/2019/10/5-5.png 742w, https://www.osradar.com/wp-content/uploads/2019/10/5-5-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/5-5-696x125.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/5-5-741x133.png 741w" sizes="(max-width: 742px) 100vw, 742px" /><figcaption id="caption-attachment-14492" class="wp-caption-text">5.- PHP 7.3 correctly installed</figcaption></figure></p>
<p>And ready, you can continue installing the PHP modules you need. And start working.</p>
<h2>Conclusion</h2>
<p>Installing PHP is not complicated in almost any current Linux distribution, however, it is convenient to have recent versions that help improve the fluidity of the system. For this, we use an external repository to provide the packages that by default the distribution does not give us. Today you have learned to install PHP 7.3 in CentOS in a fast and simple way.</p>
<p>Please share this post with your friends through social networks. We also ask you to join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-7-3-centos-8/">How to install PHP 7.3 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/install-php-7-3-centos-8/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>The V programming Language: Powerfull and lightweight</title>
		<link>https://www.osradar.com/the-v-programming-language-powerfull-and-lightweight/</link>
					<comments>https://www.osradar.com/the-v-programming-language-powerfull-and-lightweight/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 01 Jul 2019 23:40:53 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[V programming language]]></category>
		<category><![CDATA[window]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12539</guid>

					<description><![CDATA[<p>Programming languages are currently in a good stage of development. Many of them have been improved and as time goes by, they incorporate features that help the coding process. However, there is always room for advancement and some venture to create new languages in the hope that they will be taken into account by the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/the-v-programming-language-powerfull-and-lightweight/">The V programming Language: Powerfull and lightweight</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Programming languages are currently in a good stage of development. Many of them have been improved and as time goes by, they incorporate features that help the coding process. However, there is always room for advancement and some venture to create new languages in the hope that they will be taken into account by the developers. That is how Python started and now it is one of the most popular languages out there. Now, another is emerging with a view to being one of the lightest and most efficient out there. So, in this post, I will tell you about the V programming Language.</p>
<h2>Lightweight and very efficient</h2>
<p><a href="https://vlang.io/" rel="noopener">This programming language</a> was created by Alex Medvedniko, a Dutch developer who says he has a strong commitment to simplicity and performance. You can see that in V. Because V and all its libraries only occupy 400kb. Crazy! But yes, the language has ambitions and only with this size will we be able to work.</p>
<p>On the other hand, the language is in an early stage of development, but it shows us characteristics to which we must pay a lot of attention. Some of them are:</p>
<ul>
<li><strong>Secure</strong>. Because it does not allow global variables, null values, strange behaviors of functions, nor undefined values.</li>
<li><strong>Fast</strong>. I think this is V&#8217;s main point. It can compile 1.5 Million lines of code per processor core. It&#8217;s wonderful.</li>
<li><strong>Code translation from C</strong>. If you have a project from C, you can convert the source code to V, without any problem.</li>
<li><strong>Compiler with 0 dependencies</strong>. In addition, it only weighs 400 kb.</li>
<li><strong>Hot Code Reload</strong>. It is not necessary to compile frequently to get the desired changes. Of course, in some cases yes, where there are many lines of codes.</li>
</ul>
<p>Finally, the programming language V will have version 1.0 in December if all goes well. However, you can already do some work using it.</p>
<h2>Getting the V programming Language</h2>
<p>As expected, V is open-source. For now, only Linux and MacOS versions are available, but Windows will soon be added. Just download it and put it in <code>/usr/local/bin/</code> to start working. You can also download the<a href="https://github.com/vlang/v"> source code</a> and build it from there.</p>
<p>In addition, the project tells us that it is easier to use than <a href="https://www.osradar.com/install-go-language-on-centos-7/">GO</a>, but that it has similar documentation. On the other hand, its performance is similar to <a href="https://www.osradar.com/how-to-compile-a-c-code-on-gnu-linux/">C</a> and they plan to<strong> support graphics libraries like <a href="https://www.khronos.org/vulkan/">Vulkan</a> or DirectX.</strong></p>
<p>For now, we just need to keep an eye on this project. If you are a developer I recommend you do the same because the features are interesting.</p>
<p>Share this post with other friends of yours whether they are developers or not.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/the-v-programming-language-powerfull-and-lightweight/">The V programming Language: Powerfull and lightweight</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/the-v-programming-language-powerfull-and-lightweight/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.2 on Debian 9 Stretch?</title>
		<link>https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/</link>
					<comments>https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 09 Oct 2018 01:00:40 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 7.2]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[web development]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6257</guid>

					<description><![CDATA[<p>Recently I explained how to install PHP 7 in CentOS 7. Today, I will show how to install PHP 7.2 on Debian 9. Linux server-oriented operating systems use not-so-current versions of the basic packages because they are the most tested. This situation has as main advantage that the packages that are in the official repositories [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">How to install PHP 7.2 on Debian 9 Stretch?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/">explained</a> how to install PHP 7 in CentOS 7. Today, I will show how to install PHP 7.2 on Debian 9.</p>
<p>Linux server-oriented operating systems use not-so-current versions of the basic packages because they are the most tested. This situation has as main advantage that the packages that are in the official repositories are very stable; however, not having the latest versions of the packages means that new features are not always available.</p>
<p><figure id="attachment_6287" aria-describedby="caption-attachment-6287" style="width: 1120px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6287" src="https://www.osradar.com/wp-content/uploads/2018/10/11-2.png" alt="Linux Security" width="1120" height="450" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-2.png 1120w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-300x121.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-768x309.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1024x411.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-696x280.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1068x429.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/11-2-1045x420.png 1045w" sizes="(max-width: 1120px) 100vw, 1120px" /><figcaption id="caption-attachment-6287" class="wp-caption-text">Linux Security</figcaption></figure></p>
<p>With this in mind, it&#8217;s easy to assume that some essential applications can&#8217;t be used without updating some key packages like PHP. For example, the latest stable version of <a href="https://laravel.com/docs/5.7#installing-laravel">Laravel</a> requires PHP 7.1.3 <strong>but Debian 9 brings in its repositories version 7.0.</strong></p>
<p>In others words, there are times when it is necessary to update some essential packages. Today it&#8217;s PHP&#8217;s turn on Debian 9.</p>
<h2>Why you need</h2>
<p>The process is quite simple, however, you must execute commands as a superuser. To do this, you can use a user with sudo enabled or directly be root.</p>
<p>You also need to be somewhat familiar with the use of the terminal, as we will do everything through the command line interface.</p>
<p>With this in mind, you can get started to install PHP 7.2.</p>
<h2>Let&#8217;s get to work</h2>
<p>Now that you have decided to update <a href="http://php.net/">PHP</a>, the first thing is to update the system. With that, you will get the versions of the packages but only those related to security. Anyway, it&#8217;s a good idea to do it. Run:</p>
<pre class="">:~$ su</pre>
<p>Then, enter your password to become root. Now, run:</p>
<pre class="">:~# apt update &amp;&amp; apt upgrade</pre>
<p><figure id="attachment_6276" aria-describedby="caption-attachment-6276" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6276" src="https://www.osradar.com/wp-content/uploads/2018/10/1-5.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6276" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>That&#8217;s enough.</p>
<p>So, you can check this by executing the following command:</p>
<pre class="">:~# apt-cache show php</pre>
<p><figure id="attachment_6277" aria-describedby="caption-attachment-6277" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6277" src="https://www.osradar.com/wp-content/uploads/2018/10/2-5.png" alt="2.- Showing the version of the PHP package that comes in the official repositories." width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6277" class="wp-caption-text">2.- Showing the version of the PHP package that comes in the official repositories.</figcaption></figure></p>
<p>As you can see, Debian 9 comes with PHP 7.0 by default.</p>
<p>The next step is to install some necessary packages such as: <code>apt-transport-https</code> <code>lsb-release</code> and <code>ca-certificates</code>.</p>
<pre class="">:~# apt install apt-transport-https lsb-release ca-certificates</pre>
<p><figure id="attachment_6278" aria-describedby="caption-attachment-6278" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6278" src="https://www.osradar.com/wp-content/uploads/2018/10/3-5.png" alt="3.- Installing some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6278" class="wp-caption-text">3.- Installing some required packages</figcaption></figure></p>
<p>To install PHP 7.2 you need an external repository. Run:</p>
<pre class="">:~# wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg</pre>
<p><figure id="attachment_6281" aria-describedby="caption-attachment-6281" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6281 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/4-1-1.png" alt="4.- Downloading GPG key" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6281" class="wp-caption-text">4.- Downloading GPG key</figcaption></figure></p>
<p>Next:</p>
<pre class="">:~# sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" &gt; /etc/apt/sources.list.d/php.list'</pre>
<p><figure id="attachment_6282" aria-describedby="caption-attachment-6282" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6282 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/5-1-1.png" alt="5.- Adding the external repository to install PHP 7.2" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6282" class="wp-caption-text">5.- Adding the external repository to install PHP 7.2</figcaption></figure></p>
<p>Then, proceed to update the repository cache.</p>
<pre class="">:~# apt update</pre>
<p><figure id="attachment_6283" aria-describedby="caption-attachment-6283" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6283" src="https://www.osradar.com/wp-content/uploads/2018/10/6-1-1.png" alt="6.- apt update command" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/6-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6283" class="wp-caption-text">6.- apt update command</figcaption></figure></p>
<p>Now, search the repository database for the PHP package and you&#8217;ll see that version 7.2 is available.</p>
<p><figure id="attachment_6284" aria-describedby="caption-attachment-6284" style="width: 1357px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6284" src="https://www.osradar.com/wp-content/uploads/2018/10/7-3.png" alt="7.- Showing the new version of PHP on repository" width="1357" height="386" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-3.png 1357w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-300x85.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-768x218.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-1024x291.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-696x198.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/7-3-1068x304.png 1068w" sizes="(max-width: 1357px) 100vw, 1357px" /><figcaption id="caption-attachment-6284" class="wp-caption-text">7.- Showing the new version of PHP on the repository</figcaption></figure></p>
<p>And proceed to install the PHP 7.2 packages you want. I&#8217;ll install these for now.</p>
<pre class="">:~# apt install php7.2 php7.2-common php7.2-cli php7.2-mysql php7.2-xml php7.2-curl</pre>
<p><figure id="attachment_6285" aria-describedby="caption-attachment-6285" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6285" src="https://www.osradar.com/wp-content/uploads/2018/10/8-3.png" alt="8.- Installing PHP7.2 packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/8-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6285" class="wp-caption-text">8.- Installing PHP7.2 packages</figcaption></figure></p>
<p>Finally, you can check the installed version. To do this, run.</p>
<pre class="">:~# php -v</pre>
<p><figure id="attachment_6286" aria-describedby="caption-attachment-6286" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6286" src="https://www.osradar.com/wp-content/uploads/2018/10/9-3.png" alt="9.- Showing the PHP version installed." width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6286" class="wp-caption-text">9.- Showing the PHP version installed.</figcaption></figure></p>
<h2>Conclusion</h2>
<p>In the final analysis, it can be said that having old and tested packages has its advantages but from time to time it is convenient to update them. Especially if other applications make use of them like Laravel with PHP.</p>
<p>Installing PHP 7.2 in Debian 9 is simple and it is recommended to do it to have important security updates especially if the server works a lot with web applications.</p>
<p>We want to know about you, have you used PHP? is your favorite language? did you find the article interesting? let us know in the comments.</p>
<p>Please share this article.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">How to install PHP 7.2 on Debian 9 Stretch?</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-php-7-2-on-debian-9-stretch/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
