Contents
How do I update python in Linux terminal?
Installing or Upgrading Python in Linux
- # If you are ‘root’ user $ yum install python # If you are ‘non-root’ user $ sudo yum install python. …
- $ sudo apt-get install python. …
- $ python -V Python 2.7.5 $ python –version Python 2.7.5. …
- $ tar -xvzf Python-3.5.2.tgz.
How do I update python to latest version?
x.z (patch) Python version, just go to Python downloads page get the latest version and start the installation. Since you already have Python installed on your machine installer will prompt you for “Upgrade Now”. Click on that button and it will replace the existing version with a new one.