Skip to content

Instantly share code, notes, and snippets.

@Rand01ph
Forked from puentesarrin/gist:8290754
Created December 21, 2015 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rand01ph/87516c4cb69dc1206fd0 to your computer and use it in GitHub Desktop.
Save Rand01ph/87516c4cb69dc1206fd0 to your computer and use it in GitHub Desktop.
Python alternative installation
$ cd /usr/local/src
$ wget http://www.python.org/ftp/python/3.4.0/Python-3.4.0b2.tgz
$ tar -xzf Python-3.4.0b2.tgz Python-3.4.0b2
$ cd Python-3.4.0b2
$ ./configure --enable-shared --prefix=/usr/local
$ make
$ make altinstall
$ python3.4
/usr/local/bin/python3.4: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
$ echo "/usr/local/lib" | sudo tee /etc/ld.so.conf
$ /sbin/ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment