1 2 3 4 5 6 7 8 9 10 11 12 13
| # Prerequsities > 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
# Download Python 3.6 > wget https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tgz > tar xzf Python-3.6.9.tgz
# Compile Python Source,--enable-optimizations option with configure command to enable additional supports like SSL, bz2 support. # With make command altinstall, to install it as separate Python, This will not overwrite the existing installation > cd Python3.6.9 > sudo ./configure --enable-optimizations > sudo make altinstall
|