<?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>Jammy Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/tag/jammy/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/tag/jammy/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Thu, 27 Apr 2023 11:08:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>Jammy Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/tag/jammy/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installing Python 3.7-3.9 on Ubuntu 22.04 Jammy LTS using PPA</title>
		<link>https://serverstadium.com/knowledge-base/installing-python-3-7-3-9-on-ubuntu-22-04-jammy-lts-using-ppa/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Tue, 13 Sep 2022 03:02:00 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=2142</guid>

					<description><![CDATA[<p>Canonical recently announced the general availability of Ubuntu 22.04 Jammy Jellyfish LTS on April 21, 2022. Jammy has Python 3.10 installed already. Indeed, you can install more versions via the upstream repository, but it only provides Python 2.7 and Python 3.10 modules. In this article, I will show you how to install Python 3.7 up&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/installing-python-3-7-3-9-on-ubuntu-22-04-jammy-lts-using-ppa/">Installing Python 3.7-3.9 on Ubuntu 22.04 Jammy LTS using PPA</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Canonical recently announced the general availability of Ubuntu 22.04 Jammy Jellyfish LTS on <a href="https://lists.ubuntu.com/archives/ubuntu-announce/2022-April/000279.html" target="_blank" rel="noreferrer noopener nofollow">April 21, 2022</a>. Jammy has Python 3.10 installed already. Indeed, you can install more versions via the upstream repository, but it only provides Python 2.7 and Python 3.10 modules. In this article, I will show you how to install Python 3.7 up to 3.9</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">TLDR</h2>



<pre class="wp-block-code"><code>sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.8</code></pre>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Installing Python</h2>



<p class="wp-block-paragraph">First of all, you&#8217;ll need the following package installed so we can import any PPA (Personal Package Archive) repositories:</p>



<pre class="wp-block-code"><code>sudo apt install software-properties-common -y</code></pre>



<p class="wp-block-paragraph">Then, we will import <a href="https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa" target="_blank" rel="noreferrer noopener nofollow">deadsnake&#8217;s PPA</a>:</p>



<pre class="wp-block-code"><code>sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update</code></pre>



<p class="wp-block-paragraph">You can then install previous Python versions, for example, Python 3.7:</p>



<pre class="wp-block-code"><code>sudo apt install python3.7</code></pre>



<p class="wp-block-paragraph">The maintainer of the PPA informs that they only ship Python 3.7 as the lowest version for Jammy, so if you wish to install the older version, you might want to install it for source.</p>



<pre class="wp-block-code"><code>Supported Ubuntu and Python Versions
====================================

- Ubuntu 18.04 (bionic) Python2.3 - Python 2.6, Python 3.1 - Python 3.5, Python3.7 - Python3.11
- Ubuntu 20.04 (focal) Python3.5 - Python3.7, Python3.9 - Python3.11
- Ubuntu 22.04 (jammy) Python3.7 - Python3.9, Python3.11
- Note: Python2.7 (all), Python 3.6 (bionic), Python 3.8 (focal), Python 3.10 (jammy) are not provided by deadsnakes as upstream ubuntu provides those packages.</code></pre>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Install PIP</h2>



<p class="wp-block-paragraph">The previous python installation does not provide <code>pip</code> by default, so you will have to do:</p>



<pre class="wp-block-code"><code>python3.x -m ensurepip --upgrade</code></pre>



<p class="wp-block-paragraph">Then verify it using</p>



<pre class="wp-block-code"><code>pip --version</code></pre>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Important Thing to Note</h2>



<p class="wp-block-paragraph">Never change the default Python version of Ubuntu, as it will break many things. Either by changing <code>python3</code> symlink or using <code>update-alternatives</code> command.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Conclusion</h2>



<p class="wp-block-paragraph">To summarize the article, it is easy to install previous versions of Python on Ubuntu 22.04 Jammy LTS thanks to deadsnake team&#8217;s PPA. Hopefully, you find this tutorial article helpful for your present and upcoming projects.</p>



<p class="wp-block-paragraph">For more articles and tutorials about technology, please visit ServerStadium&#8217;s <strong><a href="https://serverstadium.com/knowledge-base/" target="_blank" rel="noreferrer noopener">Knowledge Base</a> </strong></p>
<p>The post <a href="https://serverstadium.com/knowledge-base/installing-python-3-7-3-9-on-ubuntu-22-04-jammy-lts-using-ppa/">Installing Python 3.7-3.9 on Ubuntu 22.04 Jammy LTS using PPA</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
