Pip 22.0.4 from /usr/local/lib/python3.10/site-packages/pip (python 3. Output: Python-3.10.5]# python3.10 -versionĬheck the installed version of a pip by running the following command, pip3.10 -V Once the Python has been installed, confirm the version that is available by, python3.10 -version Run configuration command./configure -enable-optimizationsĬomplete the Python installation on the Rocky Linux system by running the following command. Python 3.83.11 pip version 19.0 or higher for Linux (requires manylinux2010 support) and Windows. tar xzf Python-3.10.5.tgzĬhange to the extracted directory with the following command. sudo apt update & sudo apt upgrade -y Option 1 Install Python 3.10 on Ubuntu 20.0418. You can check their official website to find the latest version available and download its source code. Install Python 3.10 from the deadsnakes PPA Manually build Python 3.10 from the source code Getting Started Ensure that your system is updated and the required packages installed. In this article, we will install the latest version of Python that is available, 3.10.5, on the Rocky Linux 9 system. How can I do that I have tried: sudo apt upgrade sudo apt install python3 python3-pip Which installs Python 3.5.3. dnf install gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make Install Python 3.10.5īy default, Rocky Linux 9 comes with Python version 3.9 I want to install a specific version of Python - 3.10 or latest 3.11 on it. Its language constructs as well as its object-oriented approachĪim to help programmers write clear, logical code for small and large-scale projects.įirst, check for any pending system updates, dnf update 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.5 on Rocky Linux 9
0 Comments
Leave a Reply. |