Hello Linux Geeksters. As you may know, Python 3.4.1 has been released a while ago, coming with fixes for already known security issues. For information about this release, see the official release notes.
In this article I will show you how to install Python 3.4.1 on Ubuntu 14.04 Trusty Tahr, Linux Mint 17 Qiana, Pinguy OS 14.04, LXLE 14.04, Elementary OS 0.3 Freya, Linux Lite 2.0, Peppermint Five and other Ubuntu 14.04 derivative systems.
Because it is not available via PPA for Ubuntu 14.04 and derivatives, we have to build Python 3.4.1 from source. Follow the instructions exactly, in order to get a successful installation.
How to install Python 3.4 on both 32 bit and 64 bit versions of Ubuntu 14.04 and derivatives:
$ sudo apt-get install libssl-dev openssl
$ cd /opt
$ wget python.org/ftp/python/3.4.1/Python-3.4.1.tgz
$ tar -xzvf Python-3.4.1.tgz
$ cd Python-3.4.1/
$ sudo make install
The easiest way to make Python 3.4.1 as default is to symlink it:
$ sudo ln -fs /opt/Python-3.4.1/python /usr/bin/python