Installing Python on CentOS 6 - a big pain

Noah Hall enalicho at gmail.com
Thu Jan 19 06:08:28 EST 2012


On Thu, Jan 19, 2012 at 10:47 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> On Thu, 19 Jan 2012 20:43:23 +1100, Chris Angelico wrote:
>
>> On Thu, Jan 19, 2012 at 3:36 PM, Steven D'Aprano
>> <steve+comp.lang.python at pearwood.info> wrote:
>>> With all the tools installed, it's a matter of a few minutes effort to
>>> build from scratch:
>
> [...]
>> Now, granted, this was Debian and I can't speak for Centos. But it would
>> surprise me greatly if your package manager can't provide build
>> essentials.
>
> I daresay any decent package manager would be able to provide the
> complete tool chain for building Python from source. But I have no idea
> what tools are needed -- gcc and make, obviously, but what else? Maybe it
> really is as simple as "yum install gcc make", but I suspect that it
> won't be. "yum install gcc make yacc bison elephant weasel fox cow spam
> ham cheese chalk aardvark" perhaps. (I may have made one or two of those
> up.)

I am fairly certain nobody would be silly enough to make a package
called "gcc". "make", maybe, but not gcc. I mean, that's not even a
real word!

yum groupinstall "Development  Tools" will probably do what the OP
needs unless 6 no longer has it.



More information about the Python-list mailing list