More resourcesĪnd now for something completely different You can read the Steering Council communication about it here to learn more. In previous pre-releases but it has been postponed to Python 3.11 due to some compatibility concerns. PEP 597 - Add optional EncodingWarningīpo-38605: from _future_ import annotations ( PEP 563) used to be on this list.PEP 624 - Remove Py_UNICODE encoder APIs.PEP 644 - Require OpenSSL 1.1.1 or newer.PEP 636 - Structural Pattern Matching: Tutorial.PEP 635 - Structural Pattern Matching: Motivation and Rationale.PEP 634 - Structural Pattern Matching: Specification.bpo-12782: Parenthesized context managers are now officially allowed.PEP 618 - Add Optional Length-Checking To zip.PEP 626 - Precise line numbers for debugging and other tools.PEP 612 - Parameter Specification Variables.PEP 604 - Allow writing union types as X | Y.PEP 623 - Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.Major new features of the 3.10 series, compared to 3.9Īmong the new major new features and changes so far: Python 3.10.10 is the newest major release of the Python programming language, and it contains many new features and optimizations. This concludes the installation of the latest Python version on AlmaLinux.This is the tenth maintenance release of Python 3.10 You can verify the version by running the command: python -V.Īnd to exit the Virtual Environment, you can use the below command, deactivate In this virtual Environment, you will be able to use the latest version of Python that was installed now. Output: Python-3.10.5]# sudo /usr/local/bin/python3.10 -m venv Python-3.10.5]# source appenv/bin/activate Python Python-3.10.5]# Create Virtual EnvironmentĬreate Virtual Environment and activate using the below command. Once the installation is complete, Check the Python version using the following command. Here nproc will provide the number of CPU cores available using the command below. Next, we compile the source code with make. ![]() ![]() Then apply the source code with the required values using the command below. 17:07:59 (48.9 MB/s) - ‘Python-3.10.5.tgz’ saved Įxtract the file by using the below command, tar xzf Python-3.10.5.tgzĪfter extracting the file, Change the directory to Python-3.10.5. Now, Let us download the source code by using wget as shown below, wget Check the latest version that is available by visiting The first step is to download the source code of Python 3.10.5. dnf update Install Python 3.10.5Īt the time of writing this article, the latest version of Python available was 3.10.5. dnf install wget yum-utils make gcc openssl-devel bzip2-devel libffi-devel zlib-devel To install the Python from the source code, you will need additional packages such as GCC compiler and other dependencies installed. PrerequisitesĪ system with AlmaLinux 9 installed and running. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Its design philosophy emphasizes code readability with its use of significant indentation. Python is an interpreted high-level general-purpose programming language. ![]() How to Install Python 3.10 on AlmaLinux 9
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |