This will install bzip2 support which is needed. Now on the terminal enter the command “Sudo apt-get install libbz2-dev”.
Open the terminal and enter the command “sudo apt-get install build-essential”.This will install all the build essentials in your system. If you have already done it before then you can ignore the below three steps. You should install the build-essentials, bzip2, SQLite as a prerequisite, If you are building this software for the first time in your system as it’s mandate or else you will get errors during installation of python. Please follow the below steps to do Python download and installation on Linux.