Skip to content

Instantly share code, notes, and snippets.

@andreisoriga
Last active July 11, 2018 07:26
Show Gist options
  • Select an option

  • Save andreisoriga/d4fb3e80938fcae71632cc3bdc9716ab to your computer and use it in GitHub Desktop.

Select an option

Save andreisoriga/d4fb3e80938fcae71632cc3bdc9716ab to your computer and use it in GitHub Desktop.
Install Python from sources on Linux

Linux:

Install some package dependencies

./configure --enable-shared --enable-optimizations --prefix=/usr/local LDFLAGS="-Wl,--rpath=/usr/local/lib"

make

sudo make install

Windows:

./configure --enable-shared --enable-optimizations --prefix=/usr/local LDFLAGS="-R/usr/local/lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment