
You really want Python 2.7.2 (the latest 2.x release) or Python 3.3 (the latest 3.x release). After updating all Yum packages, install Python 2 on CentOS 8.0. For this purpose, run the following command: sudo yum update. (Note I don't use Red Hat, so I don't know for sure that is the correct package name).Īs a final point - 2.4, 2.6 and 3.0 are all outdated versions. To ensure all packages are up to date in your system, the Yum package manager provides facility to CentOS 8 users to install all the latest updates related to software. If you are looking for a professional, honest, reliable, punctual, and hardworking person, I can provide you with Linux System Administration.
Some authors refer to YUM as the Yellowdog Update Manager, or suggest that 'Your Update Manager' would be more appropriate. I am Linux System Administrator I can help companies to overgrow I will lead as a Linux Administrator.A dynamic and energetic individual who owns a unique experience.
To install Python 3, run the dnf command. YUM superseded up2date in Red Hat Enterprise Linux 5 and later. Update all currently installed packages by running the yum update command. As such, to get 3.x, you probably want to do: yum install python3 YUM aimed to address both the perceived deficiencies in the old APT-RPM, and restrictions of the Red Hat up2date package management tool.

It's worth noting that you can have 2.x and 3.x installed side-by-side, and most distros package them separately. If there is not a package for the software at hand, then you could download the source code and build it, but note that this is generally a harder route - firstly it's more work, and secondly package maintainers are careful to ensure that software functions correctly on a distro, so they are more likely to work well and interact well with the rest of your system.

In the case of Red Hat, that is yum, so you probably want something like: yum update python As with all software on Linux, the first port of call should be the package manager, using it will give you a relatively painless experience most of the time.
