Skip to content

Instantly share code, notes, and snippets.

@puentesarrin
Created January 6, 2014 22:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save puentesarrin/8290754 to your computer and use it in GitHub Desktop.
Save puentesarrin/8290754 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
@xuyong3250
Copy link

Thank you very much for your code. ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment