![]() In the next step, download the Official Python 3.9 setup file using the “wget” command: $ wget Install the additional dependencies first by entering the following command: $ sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y On Ubuntu 22.04, to install Python 3.9 using the official setup file, follow the below-mentioned steps. Method 2: Python 3.9 installation on Ubuntu 22.04 using the official setup file Let’s move towards the second approach to install Python 3.9. Step 5: Validate Python Version $ python3.9 -versionĪs you can see, we have successfully installed Python “3.9.13” on our Ubuntu 22.04 system: To install Python 3.9 on Ubuntu 22.04, run the provided command: $ sudo apt install python3.9 -y Let’s move further for Python 3.9 installation. It is the easiest way for Python 3.9 installation: $ sudo add-apt-repository ppa:deadsnakes/ppa ![]() In the next step, add “deadsnakes” PPA repository into the system. Install the required prerequisites utilizing the command below: To install Python 3.9 on the Ubuntu system with the help of the PPA repository, follow the steps listed below.įirst open the Ubuntu 22.04 terminal using “CTRL+ALT+T” and update the system packages: $ sudo apt update Let’s get started! Method 1: Python 3.9 installation on Ubuntu 22.04 using PPA repository In this write-up, we will demonstrate Python 3.9 installation on Ubuntu 22.04: The most recent supported version of Python is “3.9”. ![]() Furthermore, in recent years, Python has become one of the top programming languages worldwide and is utilized in Machine learning, website development, software testing, and many other processes. It is typically utilized in automation, software development, and data science. Python is an interpreted high-level programming language.
0 Comments
Leave a Reply. |