Created
January 6, 2014 22:13
-
-
Save puentesarrin/8290754 to your computer and use it in GitHub Desktop.
Python alternative installation
This file contains 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 characters
$ 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
Thank you very much for your code. ^_^