Contents
How do I install a specific version of Python in Ubuntu?
You can also download latest version in place of specified below.
- cd /usr/src sudo wget Now extract the downloaded package.
- sudo tar xzf Python-3.5.2.tgz. …
- cd Python-3.5.2 sudo ./configure sudo make altinstall. …
- $ python3.5 -V Python 3.5.2.
8 окт. 2015 г.
How do I install Python 2 7?
To install Python, follow these steps:
- Navigate to the Python downloads page: Python downloads.
- Click on the link/button to download Python 2.7. x.
- Follow the installation instructions (leave all defaults as-is).
- Open your terminal again and type the command cd . Next, type the command python .