Is it possible update default Python 3.4 to 3.4.2? How?
3 Answers
- Download the 3.4.2 source files from here
- Extract it to a temporary directory within your
Downloadsfolder - Open a terminal session.
- Navigate to the folder with
cd ~/Downloads/Python-3.4.2 As per the Python documentation, run the following commands from the terminal:
./configure make make test sudo make install
This will upgrade your existing Python-3.4 installation to Python-3.4.2 (accessible as python3)
You can also use pyenv as your python manager. pyenv
It will allow you to install any version of python, pypy, python3, stackless etc.
it uses shims and also has a nice plugin for virtualenv which makes it a very easy option to use pyenv-virtualenv
Very simple installation.
curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
find out which versions are available to install
$ pyenv install --list
install python 3.4.2
sayth@sayth-TravelMate-5740G:~/scripts$ pyenv install 3.4.2
Downloading Python-3.4.2.tgz...
-> https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz
Installing Python-3.4.2...
trusty-updates release channel of Ubuntu 14.04 LTS provides Python 3.4.3 (if you want simply newer version of Python than 3.4.0, not exactly 3.4.2).
You can enable trusty-updates in Software & Updates settings (they should be enabled by default):
- 438
