<?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>Python 3.9 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/python-3-9/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 29 Mar 2021 16:03:29 +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 Python 3.9 on CentOS 8?</title>
		<link>https://www.osradar.com/install-python-3-9-centos/</link>
					<comments>https://www.osradar.com/install-python-3-9-centos/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 01 Apr 2021 04:00:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Python 3.9]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29322</guid>

					<description><![CDATA[<p>Hi, folks. CentOS 8 has been with us for a while now and some of its packages are starting to get old, including Python. In this post, I will show you how to install Python 3.9 on CentOS 8 Python is one of the most popular programming languages out there. Its incredible versatility makes it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-python-3-9-centos/">How to install Python 3.9 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>Hi, folks. CentOS 8 has been with us for a while now and some of its packages are starting to get old, including Python. I<strong>n this post, I will show you how to install Python 3.9 on CentOS 8<br></strong></p>



<p><a href="https://www.python.org/" target="_blank" rel="noreferrer noopener">Python</a> is one of the most popular programming languages out there. Its incredible versatility makes it be in almost any technology field. In addition, its learning curve is quite low which makes it ideal for learning.</p>



<p>The truth is that <a href="https://www.osradar.com/tag/centos/" target="_blank" rel="noreferrer noopener">CentOS 8</a> is in its best moment of stability, but also some of its packages are starting to get old. That’s why some people update some of them individually. Especially the most important ones for work.</p>



<p>Therefore, if a developer wants to take advantage of the features of Python 3.9 in CentOS 8, he has to update it.</p>



<p>So let’s go for it.</p>



<h2>Install Python 3.9 on CentOS 8</h2>



<p>By default, CentOS 8 includes Python but in an older version. So it&#8217;s time to upgrade.</p>



<p>So, open a terminal or connect to your server via <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH</a>.</p>



<p>Then update the system completely:</p>



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



<p>In this post, I will use <a href="https://www.osradar.com/how-to-enable-sudo-on-centos-8/" target="_blank" rel="noreferrer noopener">the sudo command</a> to get root permissions so you need to have it.</p>



<p>Then install the necessary packages to compile packages on CentOS 8</p>



<pre class="wp-block-preformatted">sudo dnf groupinstall "Development Tools".</pre>



<p>And also other necessary packages such as <code>openssl-devel</code></p>



<pre class="wp-block-preformatted">sudo dnf install openssl-devel bzip2-devel libffi-devel</pre>



<p>Now we can download the latest stable version of Python which is <code>3.9.2</code> with wget. If you don&#8217;t have it installed run:</p>



<pre class="wp-block-preformatted">sudo dnf install wget</pre>



<p>Now proceed to download it in the <code>/tmp/</code> folder.</p>



<pre class="wp-block-preformatted">cd /tmp/<br>wget https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tgz</pre>



<p>After that, decompress it</p>



<pre class="wp-block-preformatted">tar xvf Python-3.9.2.tgz</pre>



<p>and access the generated folder:</p>



<pre class="wp-block-preformatted">cd Python-3.9*/</pre>



<p>Before installing Python configure the source code</p>



<pre class="wp-block-preformatted">./configure --enable-optimizations</pre>



<p>And you can install the Python package with the following command:</p>



<pre class="wp-block-preformatted">sudo make altinstall</pre>



<p>And when finished, you can check the installation:</p>



<pre class="wp-block-preformatted">python3.9 -V<br>Python 3.9.2</pre>



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



<h2>Conclusion</h2>



<p>Python is very popular and many developers always want to have the latest to create their applications. That’s why it is often convenient to have the latest version of Python.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-python-3-9-centos/">How to install Python 3.9 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-python-3-9-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
