


I hope you enjoyed it and found it useful for your daily work or projects. $ sudo add-apt-repository ppa:deadsnakes/ppa -yĪnd then you can check your python version as example commands below: **$ sudo python -version** **$ sudo apt install software-properties-common -y In Ubuntu, installing Python 3.10 to your Linux OS can be done easily with the custom PPAs. *Install Python 3.10.0 (64-bit) using macOS 64-bit universal2 installer (Screenshot by Author)*Īnd then you can check your python version as example commands below: **$ python -version** Just open the package and install it on your Mac. Then, you can check your python version by open Powershell or Command Prompt and use python -version command **$ python -version**įor macOS, you may do the same by downloading from the Python download page and select macOS 64-bit universal2 installer. *Python 3.10.0 (64-bit) installer (Screenshot by Author)* I would recommend going for the Windows installer (64-bit) executable installer version or you can simply click this link. And you are not sure which version is for you.

You can download and install the Python 3.10 installer from the Python download page. This article will show you a tutorial on how to update your Python to 3.10 in an easy way for **Windows, Mac, and Linux (Ubuntu) **operating systems. However, this version still lacks the ability to run under docker as of October 4, 2021, so you might have to wait until the minor update this support it. For example, it gives you more precise and constructive error messages, Structural Pattern Matching, Parenthesized Context Managers, and much more. Python-3.3.3.tar.xz.Python 3.10 brings several changes which you can find them all here. Yum install -y bzip2-devel openssl-devel sqlite-devel wget xz-libs zlib-dev Python 2.7.6ĭownloads Python-2.7.6.tar.xz and builds it. Tweak the version as you wish since newer versions will become available after this is posted. Here is how to upgrade python on CentOS for both 2.7 and 3.3. Typically this will be version 2.6, so even to run 2.7.6 you will need to build from source, but can still leverage yum to fetch all the dev tools you’ll need to build upgraded version of python. The version of python that is distributed with CentOS is the same of that for RHEL, which reads as not cutting edge.
