Last active
January 28, 2022 13:00
Revisions
-
basaks revised this gist
Feb 10, 2018 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,20 +15,20 @@ Download and untar the desired version: mkdir -p $HOME/opt cd $HOME/opt curl -O https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz tar -xzf Python-3.6.4.tgz Install python3.6 while keeping python3.5 as the default python3 version on ubuntu 16.04. cd Python-3.6.4/ ./configure --enable-shared --enable-optimizations --prefix=/usr/local LDFLAGS="-Wl,--rpath=/usr/local/lib" sudo make altinstall Check it was installed properly: >> python3.6 -V Python 3.6.4 Enjoy! -
basaks revised this gist
Oct 7, 2017 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,20 +15,20 @@ Download and untar the desired version: mkdir -p $HOME/opt cd $HOME/opt curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz tar -xzf Python-3.6.0.tgz Install python3.6 while keeping python3.5 as the default python3 version on ubuntu 16.04. cd Python-3.6.0/ ./configure --enable-shared --prefix=/usr/local LDFLAGS="-Wl,--rpath=/usr/local/lib" sudo make altinstall Check it was installed properly: >> python3.6 -V Python 3.6.0 Enjoy! -
basaks created this gist
Jan 23, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ ## Install Python3.6 interpreter on ubuntu 16.04 [From here](http://devmartin.com/blog/2016/04/creating-a-virtual-environment-with-python3.4-on-ubuntu-16.04-xenial-xerus/), we can pretty much follow the exact same procedure. On a terminal just do the following steps: Install dependencies: sudo apt install build-essential checkinstall libreadline-gplv2-dev \ libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev \ libbz2-dev openssl Download and untar the desired version: mkdir -p $HOME/opt cd $HOME/opt curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0rc2.tgz tar -xzf Python-3.6.0rc2.tgz Install python3.6 while keeping python3.5 as the default python3 version on ubuntu 16.04. cd Python-3.6.0rc2/ ./configure --enable-shared --prefix=/usr/local LDFLAGS="-Wl,--rpath=/usr/local/lib" sudo make altinstall Check it was installed properly: >> python3.6 -V Python 3.6.0rc2 Enjoy!