Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a *nix whose package manager doesn't split Python into multiple packages (typically something like python and python-devel). I'd really like to just get the entire standard library when I install it, since that's how it's designed to work. Thanks.

UPDATE: Some people are wondering what I mean, so here's an example: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/123755. I realize it's not caused (in this instance) by a python/python-devel split, but it's the sort of issue I don't want to worry about. I just want to install the entirety of Python—with no weird tweaks of the ImportError handler, or std lib modules ripped out (for any reason)—and then let my package manager handle security updates, etc.

share|improve this question
Once you install python you should have "the entire standard library" already. What's the problem with that? – phunehehe Mar 29 '11 at 1:43
I agree with phunehehe -- I'm not sure this question makes sense... – simon Mar 29 '11 at 6:09
@simon: It isn't that. I think OP just doesn't know. She sees -devel and thinks, oh, that means it has Python stdlib. – Tshepang Mar 29 '11 at 8:00
devel is just header files. you don't need this unless you are going to compile/link against a python library. – Faheem Mitha Mar 29 '11 at 9:21
@phunehehe @tshepang @simon @faheem it's really annoying to try to do any kind of real dev work on a system with split packages imo. This question makes sense, esp if you start thinking outside of python, and start. the -devel packages can be a real problem if you're using an external repo, or a backport, or something else, because then -devel doesn't always line up with the binary that's installed. I know I've had it. I don't use debian or suse, or any system that works like this for this very reason. So I think it's a good question. – xenoterracide Mar 29 '11 at 9:31
up vote 5 down vote accepted

Arch Linux doesn't have separate packages for -dev and it's binary (unlike gentoo). There might be a few things, like tk which isn't pulled in by default. Here's the python package for arch.

share|improve this answer
Oh, I see Arch Linux has a relaxed view regarding non-libre software. – Tshepang Mar 29 '11 at 23:37
which is fine with me... I want it to work – xenoterracide Mar 30 '11 at 4:35

Well, there's Gentoo. Since it installs everything from source, there are no -dev packages.

share|improve this answer
+1 for Gentoo! Everything exactly how YOU want it. – Keith Mar 30 '11 at 5:51

On Debian (and therefore probably Ubuntu), running apt-get install python installs python-minimal and python, which results in all core modules being installed, which I assume is what you mean by "the entire standard library".

The only caveat I can find is that the Tk GUI stuff is all installed, but you need to install the python-tk package to use it properly.

>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 41, in <module>
    raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package

So run apt-get install python python-tk, and you have everything you need.

Does that meet your criteria?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.