PYTHON DOWNLOAD UBUNTU HOW TO
The following steps explain how to compile Python 3.9 from the source: However, you won’t be able to maintain your Python installation through the apt package manager. Installing Python 3.9 on Ubuntu from Source #Ĭompiling Python from the source allows you to install the latest Python version and customize the build options. Python 3.9 is installed on your Ubuntu, and you can start using it. Verify that the installation was successful by typing: python3.9 -version Python 3.9.1+ Once the repository is enabled, you can install Python 3.9 by executing: sudo apt install python3.9 Update the packages list and install the prerequisites: sudo apt update sudo apt install software-properties-commonĪdd the deadsnakes PPA to your system’s sources list: sudo add-apt-repository ppa:deadsnakes/ppa Is a relatively straightforward process and takes only a few minutes to complete. Installing Python 3.9 on Ubuntu with Apt # The same steps apply for Ubuntu 18.04 and all Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS. PPA, and the second one is to build Python 3.9 from the source code. The first option is to install the package from the deadsnakes In this article, we’ll show you two ways to install Python 3.9 on Ubuntu 20.04. It includes many new features such as new dict operators, new str functions, support for IANA time zone, and more Python 3.9 is the latest major release of the Python language. With its simple and easy to learn syntax, Python is a popular choice for beginners and experienced developers.
It is a versatile language used to build all kinds of applications, from simple scrips to complex machine learning algorithms. Python is one of the world’s most popular programming languages.