


Whatever you do, do not uninstall python3-minimal as it is - at least, on Ubuntu - required by the system and uninstalling or changing it will likely break the system. (although a better alternative could be instead aliasing it alias python3='/usr/bin/python3.8' and adding this to ~/.bashrc). Sudo ln /usr/bin/python3.8 /usr/bin/python3 # create a new link to the version of your choice assuming which python3 gives you /usr/bin/python3, you can sudo rm /usr/bin/python3 #remove existing link

python3 of version no less than your built-in python3/python3-minimal, otherwise you will probably break something), e.g. Regarding the command python3 (usually /usr/bin/python3) is just a symbolic link, you can replace it with the version you like (as long as it remains compatible with what the system expects - i.e. a separate copy of the needed version of python, pip and their package installation folders for each project, and install the required packages there - for more information see e.g. (As different projects require different sets of packages, the general practice is to create a "virtual environment", i.e. install pip3.8 by python3.8 -m pip install pip) and use it to install packages for that python version. Likewise, for each python version you can install its own package manager (e.g. You can likely run Python 3.8 using the python3.8 command (or else, locate where you installed it and run from there / add the location to the PATH environment variable to run directly). Python releases by version number: Release version Release date Click for more. Python installations (more generally, versioned installations of software) co-exist on linux using version numbers. Step 1: Install Python Dependencies Login to your CentOS 8 / CentOS 7 system as root or user with sudo privileges. This question is more appropriate for Unix & Linux.
