Python IDLE is a GUI-based tool for Python. Type "help", "copyright", "credits" or "license" for more information.Ĭongratulations! Python 3.11 is now installed on your system. The output of the above command should be similar to: which python3 -V When the installation is complete, use which to verify the location of the main binary: # which python3 Now relax and go grab a sandwich because this may take a while. Once needed core packages are installed, you can head over to the official Python download page to download the Python 3.11 source release or use the following wget command to download it directly and install it. In >Debian-based distributions such as Ubuntu and Linux Mint, we will need to install gcc, make, and the zlib compression/decompression library: # aptitude -y install gcc make zlib1g-dev Prior to installing Python in RHEL-based distributions such as CentOS Stream Fedora, Rocky, and AlmaLinux, let’s make sure our system has all the necessary development dependencies: # yum -y groupinstall development Why? The reason is simple: this allows us to have the latest stable release of the language ( 3.11) and to provide a distribution-agnostic installation method. At the time of this writing (November 2022), the latest version is Python 3.11, and we are going to perform the installation from the source.Īlthough we can install the core packages and their dependencies using yum and aptitude (or apt-get) or apt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |