What are the packages/libraries I should install before compiling Python from source?
- by Lennart Regebro
Once in a while I need to install a new Ubuntu (I used it both for desktop and servers) and I always forget a couple of libraries I should have installed before compiling, meaning I have to recompile, and it's getting annoying.
So now I want to make a complete list of all library packages to install before compiling Python (and preferably how optional they are).
Off the top of my head I can remember these:
build-essential (obviously)
libz-dev (also pretty common and essential)
libreadline-dev (or the Python prompt is crap)
But I know there are many more. Please tell me and I'll update.