Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
Update the System.
Let us now install the latest version of Python 3.9 by running the below command,
yum install python39
[root@vps ~]# yum install python39 Last metadata expiration check: 0:33:08 ago on Saturday 28 August 2021 11:54:31 AM EDT. Dependencies resolved. =============================================================== Package Arch Version Repo Size =============================================================== Installing: python39 x86_64 3.9.2-1.module+el8.4.0+574+843c4898 appstream 31 k
Now check the Python version using the following command.
[root@vps ~]# python3 --version Python 3.9.2 [root@vps ~]#