<?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>install python on linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-python-on-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 03 Jan 2020 09:58:44 +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.8 on CentOS 8</title>
		<link>https://www.osradar.com/how-to-install-python-3-8-on-centos-8/</link>
					<comments>https://www.osradar.com/how-to-install-python-3-8-on-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 03 Jan 2020 09:58:41 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install python 3.8 on centos 8]]></category>
		<category><![CDATA[install python on linux]]></category>
		<category><![CDATA[python 3.8 installation on centos 8]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17071</guid>

					<description><![CDATA[<p>Introduction: In this article, you will cover the Installation of Python 3.8 on your CentOS 8 system. Python is very popular programming language used to develop web applications, handle big data &#38; perform complexity issues in mathematics, system scripting and much more. Just follow the steps to easily install Python 3.8 on CentOS 8. Step [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-python-3-8-on-centos-8/">How To Install Python 3.8 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[
<h3><strong>Introduction:</strong></h3>



<p>In this article, you will cover the Installation of Python 3.8 on your CentOS 8 system. Python is very popular programming language used to develop web applications, handle big data &amp; perform complexity issues in mathematics, system scripting and much more. Just follow the steps to easily install Python 3.8 on CentOS 8.</p>



<h3><strong>Step 1: Installing Python Dependencies on CentOS </strong>8</h3>



<p>First of all install dependencies required to Install Python 3.8 on CentOS 8.</p>



<pre class="wp-block-verse">sudo yum -y groupinstall "Development Tools"<br>sudo yum -y install openssl-devel bzip2-devel libffi-devel</pre>



<p><strong>Output:</strong></p>



<pre class="wp-block-verse">[root@localhost sabi]# sudo yum -y groupinstall "Development Tools"<br> Last metadata expiration check: 0:33:44 ago on Fri 27 Dec 2019 01:48:08 PM PKT.<br> Dependencies resolved.<br> Package                      Arch   Version                           Repository<br>                                                                                   Size<br> Installing group/module packages:<br>  asciidoc                     noarch 8.6.10-0.5.20180627gitf7c2274.el8 AppStream 216 k<br>  autoconf                     noarch 2.69-27.el8                       AppStream 710 k<br>  automake                     noarch 1.16.1-6.el8                      AppStream 713 k<br>  bison                        x86_64 3.0.4-10.el8                      AppStream 688 k<br>  byacc                        x86_64 1.9.20170709-4.el8                AppStream  91 k<br>  ctags                        x86_64 5.8-22.el8                        AppStream 170 k<br>  diffstat                     x86_64 1.61-7.el8                        AppStream  44 k<br>  flex                         x86_64 2.6.1-9.el8                       AppStream 320 k<br>  gdb                          x86_64 8.2-6.el8_0                       AppStream 296 k<br>  intltool                     noarch 0.51.0-11.el8                     AppStream  66 k<br>  libtool                      x86_64 2.4.6-25.el8                      AppStream 709 k<br>  ltrace                       x86_64 0.7.91-27.el8                     AppStream 160 k<br>  patchutils                   x86_64 0.3.4-10.el8                      AppStream 116 k<br>  perl-Fedora-VSP              noarch 0.001-9.el8                       AppStream  24 k<br>  perl-generators              noarch 1.10-7.el8                        AppStream  18 k<br>  pesign                       x86_64 0.112-25.el8                      AppStream 181 k<br>  rpm-build                    x86_64 4.14.2-11.el8_0                   AppStream 166 k<br>  source-highlight             x86_64 3.1.8-16.el8                      AppStream 661 k<br>  systemtap                    x86_64 4.0-7.el8                         AppStream  17 k<br>  valgrind                     x86_64 1:3.14.0-10.el8                   AppStream  11 M<br>  valgrind-devel               x86_64 1:3.14.0-10.el8                   AppStream  89 k<br>  rpm-sign                     x86_64 4.14.2-11.el8_0                   BaseOS     75 k<br> Installing dependencies:<br>  docbook-dtds                 noarch 1.0-69.el8                        AppStream 377 k<br>  docbook-style-xsl            noarch 1.79.2-7.el8                      AppStream 1.6 M<br>  dyninst                      x86_64 9.3.2-12.el8                      AppStream 3.7 M<br>  gc                           x86_64 7.6.4-3.el8                       AppStream 109 k<br>  gdb-headless                 x86_64 8.2-6.el8_0                       AppStream 3.7 M<br>  graphviz                     x86_64 2.40.1-39.el8                     AppStream 1.7 M<br>  guile                        x86_64 5:2.0.14-7.el8                    AppStream 3.5 M<br>  libXaw                       x86_64 1.0.13-10.el8                     AppStream 194 k<br>  libatomic_ops                x86_64 7.6.2-3.el8                       AppStream  38 k<br>  libbabeltrace                x86_64 1.5.4-2.el8                       AppStream 201 k<br>  libdwarf                     x86_64 20180129-4.el8                    AppStream 172 k<br>  libipt                       x86_64 1.6.1-8.el8                       AppStream  50 k<br>  nss-tools                    x86_64 3.44.0-7.el8_0                    AppStream 569 k<br>  perl-XML-Parser              x86_64 2.44-11.el8                       AppStream 226 k<br>  systemtap-client             x86_64 4.0-7.el8                         AppStream 3.6 M<br>  systemtap-devel              x86_64 4.0-7.el8                         AppStream 2.2 M<br>  systemtap-runtime            x86_64 4.0-7.el8                         AppStream 464 k<br>  xorg-x11-fonts-ISO8859-1-100dpi<br>                               noarch 7.5-19.el8                        AppStream 1.1 M<br>  elfutils                     x86_64 0.174-6.el8                       BaseOS    344 k<br>  gettext-common-devel         noarch 0.19.8.1-14.el8                   BaseOS    419 k<br>  gettext-devel                x86_64 0.19.8.1-14.el8                   BaseOS    331 k<br>  m4                           x86_64 1.4.18-7.el8                      BaseOS    223 k<br>  mokutil                      x86_64 1:0.3.0-9.el8                     BaseOS     44 k<br>  patch                        x86_64 2.7.6-9.el8_0                     BaseOS    138 k<br>  sgml-common                  noarch 0.6.3-50.el8                      BaseOS     62 k<br> Installing weak dependencies:<br>  gcc-gdb-plugin               x86_64 8.2.1-3.5.el8                     AppStream 116 k<br>  kernel-debug-devel           x86_64 4.18.0-80.11.2.el8_0              BaseOS     12 M<br> Installing Groups:<br>  Development Tools                                                                    <br> Transaction Summary<br> Install  49 Packages<br> Total download size: 54 M<br> Installed size: 196 M<br> Downloading Packages:<br> (1/49): asciidoc-8.6.10-0.5.20180627gitf7c2274.el8.noa 133 kB/s | 216 kB     00:01    <br> (2/49): autoconf-2.69-27.el8.noarch.rpm                334 kB/s | 710 kB     00:02    <br> (3/49): automake-1.16.1-6.el8.noarch.rpm               325 kB/s | 713 kB     00:02    <br> (4/49): byacc-1.9.20170709-4.el8.x86_64.rpm            552 kB/s |  91 kB     00:00    <br> (5/49): ctags-5.8-22.el8.x86_64.rpm                    802 kB/s | 170 kB     00:00    <br> (6/49): diffstat-1.61-7.el8.x86_64.rpm                 288 kB/s |  44 kB     00:00    <br> (7/49): bison-3.0.4-10.el8.x86_64.rpm                  708 kB/s | 688 kB     00:00    <br> (8/49): docbook-dtds-1.0-69.el8.noarch.rpm             860 kB/s | 377 kB     00:00    <br> (9/49): flex-2.6.1-9.el8.x86_64.rpm                    431 kB/s | 320 kB     00:00    <br> (10/49): gc-7.6.4-3.el8.x86_64.rpm                     316 kB/s | 109 kB     00:00    <br> (11/49): gcc-gdb-plugin-8.2.1-3.5.el8.x86_64.rpm       153 kB/s | 116 kB     00:00    <br> (12/49): gdb-8.2-6.el8_0.x86_64.rpm                     92 kB/s | 296 kB     00:03    <br> (13/49): docbook-style-xsl-1.79.2-7.el8.noarch.rpm     241 kB/s | 1.6 MB     00:06    <br> (14/49): dyninst-9.3.2-12.el8.x86_64.rpm               222 kB/s | 3.7 MB     00:17    <br> (15/49): gdb-headless-8.2-6.el8_0.x86_64.rpm           287 kB/s | 3.7 MB     00:13    <br> (16/49): intltool-0.51.0-11.el8.noarch.rpm              40 kB/s |  66 kB     00:01    <br> (17/49): libXaw-1.0.13-10.el8.x86_64.rpm               106 kB/s | 194 kB     00:01    <br> (18/49): libatomic_ops-7.6.2-3.el8.x86_64.rpm           61 kB/s |  38 kB     00:00    <br> (19/49): libbabeltrace-1.5.4-2.el8.x86_64.rpm          290 kB/s | 201 kB     00:00    <br> (20/49): libdwarf-20180129-4.el8.x86_64.rpm            156 kB/s | 172 kB     00:01    <br> (21/49): graphviz-2.40.1-39.el8.x86_64.rpm             100 kB/s | 1.7 MB     00:17    <br> (22/49): libipt-1.6.1-8.el8.x86_64.rpm                 379 kB/s |  50 kB     00:00    <br> (23/49): ltrace-0.7.91-27.el8.x86_64.rpm               740 kB/s | 160 kB     00:00    <br> (24/49): nss-tools-3.44.0-7.el8_0.x86_64.rpm           306 kB/s | 569 kB     00:01    <br> (25/49): patchutils-0.3.4-10.el8.x86_64.rpm             72 kB/s | 116 kB     00:01    <br> (26/49): perl-Fedora-VSP-0.001-9.el8.noarch.rpm        148 kB/s |  24 kB     00:00    <br> (27/49): perl-XML-Parser-2.44-11.el8.x86_64.rpm        459 kB/s | 226 kB     00:00    <br> (28/49): libtool-2.4.6-25.el8.x86_64.rpm               157 kB/s | 709 kB     00:04    <br> (29/49): perl-generators-1.10-7.el8.noarch.rpm         135 kB/s |  18 kB     00:00    <br> (30/49): pesign-0.112-25.el8.x86_64.rpm                570 kB/s | 181 kB     00:00    <br> (31/49): rpm-build-4.14.2-11.el8_0.x86_64.rpm          559 kB/s | 166 kB     00:00    <br> (32/49): systemtap-4.0-7.el8.x86_64.rpm                125 kB/s |  17 kB     00:00    <br> (33/49): source-highlight-3.1.8-16.el8.x86_64.rpm      292 kB/s | 661 kB     00:02    <br> (34/49): guile-2.0.14-7.el8.x86_64.rpm                 168 kB/s | 3.5 MB     00:21    <br> (35/49): systemtap-runtime-4.0-7.el8.x86_64.rpm        229 kB/s | 464 kB     00:02    <br> (36/49): systemtap-devel-4.0-7.el8.x86_64.rpm          162 kB/s | 2.2 MB     00:14    <br> (37/49): systemtap-client-4.0-7.el8.x86_64.rpm         226 kB/s | 3.6 MB     00:16    <br> (38/49): valgrind-devel-3.14.0-10.el8.x86_64.rpm       199 kB/s |  89 kB     00:00    <br> (39/49): xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.no 210 kB/s | 1.1 MB     00:05    <br> (40/49): elfutils-0.174-6.el8.x86_64.rpm                59 kB/s | 344 kB     00:05    <br> (41/49): gettext-devel-0.19.8.1-14.el8.x86_64.rpm       75 kB/s | 331 kB     00:04    <br> (42/49): gettext-common-devel-0.19.8.1-14.el8.noarch.r  28 kB/s | 419 kB     00:14    <br> (43/49): m4-1.4.18-7.el8.x86_64.rpm                    145 kB/s | 223 kB     00:01    <br> (44/49): mokutil-0.3.0-9.el8.x86_64.rpm                 66 kB/s |  44 kB     00:00    <br> (45/49): patch-2.7.6-9.el8_0.x86_64.rpm                 32 kB/s | 138 kB     00:04    <br> (46/49): rpm-sign-4.14.2-11.el8_0.x86_64.rpm            33 kB/s |  75 kB     00:02    <br> (47/49): sgml-common-0.6.3-50.el8.noarch.rpm           177 kB/s |  62 kB     00:00    <br> (48/49): valgrind-3.14.0-10.el8.x86_64.rpm             249 kB/s |  11 MB     00:44    <br> (49/49): kernel-debug-devel-4.18.0-80.11.2.el8_0.x86_6 190 kB/s |  12 MB     01:06    <br> Total                                                  428 kB/s |  54 MB     02:08     <br> Running transaction check<br> Transaction check succeeded.<br> Running transaction test<br> Transaction test succeeded.<br> Running transaction</pre>



<p>Check that gcc is present by running</p>



<pre class="wp-block-verse">[root@localhost sabi]# gcc -v<br> Using built-in specs.<br> COLLECT_GCC=gcc<br> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper<br> OFFLOAD_TARGET_NAMES=nvptx-none<br> OFFLOAD_TARGET_DEFAULT=1<br> Target: x86_64-redhat-linux<br> Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux<br> Thread model: posix<br> gcc version 8.2.1 20180905 (Red Hat 8.2.1-3) (GCC) </pre>



<h3><strong>Step 2: Download latest Python 3.8 Archive</strong></h3>



<p>Type the below command to download the latest archive of Python 3.8 archive.</p>



<pre class="wp-block-verse">sudo yum -y install wget<br>wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz</pre>



<p>Now, extract the downloaded pages by typing</p>



<pre class="wp-block-verse">tar xvf Python-3.8.1.tgz</pre>



<p>Move to the Python directory.</p>



<pre class="wp-block-verse">cd Python-3.8*/</pre>



<h3><strong>Step 3: Installing Python 3.8 on CentOS 8</strong></h3>



<p>Let&#8217;s start installation setup by running the configure script</p>



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



<p>Start the compilation of Python 3.8 on CentOS 8</p>



<pre class="wp-block-verse">sudo make install</pre>



<p>On successful Installation you will see the similar output:</p>



<pre class="wp-block-verse">/tmp/tmp9ly9eo2d/pip-19.2.3-py2.py3-none-any.whl/pip/_vendor/ipaddress.py:1106: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?<br> /tmp/tmp9ly9eo2d/pip-19.2.3-py2.py3-none-any.whl/pip/_vendor/ipaddress.py:1106: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?<br> Looking in links: /tmp/tmp9ly9eo2d<br> Collecting setuptools<br> Collecting pip<br> Installing collected packages: setuptools, pip<br> Successfully installed pip-19.2.3 setuptools-41.2.0</pre>



<p>Confirm the Installation of Python 3.8 on CentOS 8</p>



<pre class="wp-block-verse">python3.8 --version</pre>



<p>You can also check the pip version with <strong>pip3.8 &#8211;version</strong> command.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-python-3-8-on-centos-8/">How To Install Python 3.8 on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-python-3-8-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get the Latest Python on Linux</title>
		<link>https://www.osradar.com/get-the-latest-python-on-linux/</link>
					<comments>https://www.osradar.com/get-the-latest-python-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Tue, 25 Sep 2018 08:43:52 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[install latest python]]></category>
		<category><![CDATA[install python]]></category>
		<category><![CDATA[install python on linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[python3]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6016</guid>

					<description><![CDATA[<p>Python is one of the most popular programming and scripting languages for all purposes. There are a number of tools you are working with that depends on Python. It’s so common and powerful that all the Linux distros come up with a pre-installed version of Python. Today, let’s have a look at getting the latest [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/get-the-latest-python-on-linux/">Get the Latest Python on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Python is one of the most popular programming and scripting languages for all purposes. There are a number of tools you are working with that depends on Python. It’s so common and powerful that all the Linux distros come up with a pre-installed version of Python.</p>
<p>Today, let’s have a look at getting the latest version of Python in our Linux distro.</p>
<h1>Installing Python</h1>
<p>There are 2 available ways you can get Python – from the repo of the distro and building from the source. Some distros like Ubuntu, Debian, and Fedora etc. comes up with Python in their software repository. In the case of others, it’s the best to install Python from source.</p>
<h1>Installing from distro repository</h1>
<p>Run the following commands according to your Linux distro –</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre class="">sudo apt update &amp;&amp; sudo apt upgrade -y

# Python 3
sudo apt install python3
OR
sudo apt install python3.7

# Python 2
sudo apt install python</pre>
<p><img loading="lazy" class="size-full wp-image-6018 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-1.png" alt="" width="1058" height="443" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-1.png 1058w, https://www.osradar.com/wp-content/uploads/2018/09/python-1-300x126.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-1-768x322.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-1-1024x429.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-1-696x291.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/python-1-1003x420.png 1003w" sizes="(max-width: 1058px) 100vw, 1058px" /></p>
<p><img loading="lazy" class="size-full wp-image-6019 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-2.png" alt="" width="1055" height="173" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-2.png 1055w, https://www.osradar.com/wp-content/uploads/2018/09/python-2-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-2-768x126.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-2-1024x168.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-2-696x114.png 696w" sizes="(max-width: 1055px) 100vw, 1055px" /></p>
<p><img loading="lazy" class="size-full wp-image-6020 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-3.png" alt="" width="1060" height="687" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-3.png 1060w, https://www.osradar.com/wp-content/uploads/2018/09/python-3-300x194.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-3-768x498.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-3-1024x664.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-3-696x451.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/python-3-648x420.png 648w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<ul>
<li>Debian</li>
</ul>
<pre class="">sudo apt-get install python3</pre>
<ul>
<li>OpenSUSE</li>
</ul>
<pre class="">sudo zypper install python3</pre>
<ul>
<li>Fedora</li>
</ul>
<pre class="">sudo dnf install python37</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre class="">sudo pacman -S python</pre>
<h1>Installing Python from source</h1>
<p>At first, make sure that your system has all the required dependencies to build Python from source –</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre class="">sudo apt install make build-essential libssl-dev zlib1g-dev libbz2-dev</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<ul>
<li>Debian</li>
</ul>
<pre class="">sudo apt-get install make build-essential libssl-dev zlib1g-dev libbz2-dev</pre>
<ul>
<li>OpenSUSE</li>
</ul>
<pre class="">sudu zypper install -t pattern devel_C_C++</pre>
<ul>
<li>CentOS</li>
</ul>
<pre class="">sudo yum update
sudo yum -y groupinstall development
sudo yum -y install zlib-devel
</pre>
<p>Now, download the latest source package of Python –</p>
<pre class="">wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz</pre>
<p><img loading="lazy" class="size-full wp-image-6021 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-4.png" alt="" width="1059" height="288" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-4.png 1059w, https://www.osradar.com/wp-content/uploads/2018/09/python-4-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-4-768x209.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-4-1024x278.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-4-696x189.png 696w" sizes="(max-width: 1059px) 100vw, 1059px" /></p>
<p>Extract the archive –</p>
<pre class="">tar -xvf Python-3.7.0.tar.xz</pre>
<p><img loading="lazy" class="size-full wp-image-6022 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-5.png" alt="" width="1060" height="687" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-5.png 1060w, https://www.osradar.com/wp-content/uploads/2018/09/python-5-300x194.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-5-768x498.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-5-1024x664.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-5-696x451.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/python-5-648x420.png 648w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Build the source –</p>
<pre class="">./configure --enable-optimizations --with-ensurepip=install
make -j4
make test</pre>
<p><img loading="lazy" class="size-full wp-image-6024 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-7.png" alt="" width="1060" height="721" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-7.png 1060w, https://www.osradar.com/wp-content/uploads/2018/09/python-7-300x204.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-7-768x522.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-7-1024x697.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-7-696x473.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/python-7-617x420.png 617w" sizes="(max-width: 1060px) 100vw, 1060px" /></p>
<p>Install the package –</p>
<pre class="">sudo make altinstall</pre>
<h1>Testing Python</h1>
<p>Depending on the version you installed, run the following command(s) to verify that Python is available system-wide.</p>
<pre class="">python --version
OR
python3 --version</pre>
<p><img loading="lazy" class="size-full wp-image-6025 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/09/python-8.png" alt="" width="1058" height="181" srcset="https://www.osradar.com/wp-content/uploads/2018/09/python-8.png 1058w, https://www.osradar.com/wp-content/uploads/2018/09/python-8-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/python-8-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/python-8-1024x175.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/python-8-696x119.png 696w" sizes="(max-width: 1058px) 100vw, 1058px" /></p>
<p>Voila! Python is installed successfully!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/get-the-latest-python-on-linux/">Get the Latest Python on Linux</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/get-the-latest-python-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
