In this blog, I am going to share the best way to install python in linux mint.
First, We have to install some depedencies,
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Then Download the python source for the linux environment by the following commands.
cd ~/Downloads/
wget https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
Extract and goto the libraries,
tar -xvf Python-2.7.5.tgz
cd Python-3.4.3
Then, we could normally install the source with the make commands.
./configure
make
sudo checkinstall
that's all, I hope, this would help you.