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.
Extract and goto the libraries,
tar -xvf Python-2.7.5.tgz
Then, we could normally install the source with the make commands.
that's all, I hope, this would help you.