|
You don't. the -dev packages are designed to go with the other packages of the same version. That is, if you install python and want to compile something that uses python's libs, you must install the same version python-dev from the repository.
If you are upgrading to an unsupported and conflicting version of python, you must uninstall any python currently on your system and compile your new version from source.
A -dev package are the header files removed from the main packaged to save a few mega bytes of data. Honestly, this system that popular distros insist on doing only cause confusion and irritation from those that want to compile their own software. In Slackware, the header files are included in the main package and there are no -dev pacakges because they are not needed.
But because of your distro, if you want to compile python from source, you will now have to install the -dev pacakges of everything python depends on. Good luck with that.
BTW, how much storage space are these distros saving you at the cost of your sanity? only about 300M. Yes. on your 80gig+ hard drive, they save you 300M at the cost of your sanity when trying to compile your own software.
EDIT:
Also, Python is one of those things you probably shouldn't update from source without good cause. It's really best to use the packages in your official repository.
Other things you should never think of updating are gnome, gnome libs, kde, kde libs, gtk, qt, tool chain (compiler and other tools), and the kernel because the major players (tool chain) and ancillary modules are based off that kernel supported by your distro
Last edited by lumak; 05-17-2010 at 09:20 PM.
|