Back to Blog
Ubuntu install python 3.95/16/2023 You can try Python examples via command line. In this tutorial, you have learned to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. That’s it, You have successfully installed Python 3.9 on Debian 10 system. Pip 20.2.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9) This will also install pip for Python 3.9. For example, to check the Python version, execute: python3.9 -V You need to type python3.9 to use this version. Check Python VersionĪt this step, you have successfully installed Python 3.9 on Debian 10 system. Wait for the Python installation to complete on your system. The altinstall prevents the compiler to override default Python versions. Finally, run the following command to complete the Python installation on the Debian system.Change to the extracted directory with cd command, then prepare the Python source code for the compilation on your system.Once you have copied the link, use the wget command to download the Python 3.9 archive. The exact instructions should work on any version since you are compiling it. Once the download is completed, extract the archive file on your system. Download Python 3.9 First, visit the official download page and grab the latest version or the particular one you are after.You can directory download Python 3.9 source archive from its official site or use below command.Then compile the source code for your system and install it.įollow the below steps to install Python 3.9 on Debian systems: Libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev Installing Python 3.9 with Sourceĭownload the latest Python version source code from the official websites. sudo apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev \ Then install the required packages for the compilation of Python source code. Open a terminal (CTRL ALT T) and execute the below commands to update packages. Login to the Debian system with sudo privileged account access. This tutorial will help you to how to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. In this tutorial, you will learn to compile Python 3.9 from source code and install it on Debian-based systems. Also, the Debian packages are not available for all distributions. Most of the Debian-based Linux distribution includes older versions of Python in software repositories. As of today, Python 3.9 is the latest stable version available for productions environments.
0 Comments
Read More
Leave a Reply. |