Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19119

Re: Installing Python on CentOS 6 - a big pain

References <4f1708cc$0$1649$742ec2ed@news.sonic.net> <a9b58f57-45a5-469d-a7d7-287b651c8e70@k3g2000pbn.googlegroups.com> <4f179db1$0$14012$c3e8da3$76491128@news.astraweb.com>
Date 2012-01-19 20:43 +1100
Subject Re: Installing Python on CentOS 6 - a big pain
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4856.1326966207.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Jan 19, 2012 at 3:36 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> With all the tools installed, it's a matter of a few minutes effort to
> build from scratch:
>
> run ./configure
> run make
> run sudo make altinstall
>
> As a total n00b who'd never used make before, it took me 25 minutes
> effort on my first attempt, including reading the entire README file
> (twice!). Now I have the whole process down to about 30 seconds effort,
> and six minutes elapsed time, on my laptop.

The first time I built a Python 3, I didn't know about 'make
altinstall', and managed to make something of a mess of my system (the
default Python is 2.6.6 on Ubuntu, IIRC, and there are system scripts
that don't work on Py3). But now, it's pretty easy, as yesterday can
attest: I did a fresh install of Debian, starting at about 11AM, and
by mid-afternoon everything was built and deployed. Most of that time
was spent cloning about 8-10 source repositories (including one local
one of "work stuff") and building stuff from source, and not one of
the programs gave me any trouble. Python 3 was among them.

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.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Installing Python on CentOS 6 - a big pain John Nagle <nagle@animats.com> - 2012-01-18 10:00 -0800
  Re: Installing Python on CentOS 6 - a big pain Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-01-18 13:30 -0500
  Re: Installing Python on CentOS 6 - a big pain "J.O. Aho" <user@example.net> - 2012-01-18 21:16 +0100
  Re: Installing Python on CentOS 6 - a big pain Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-18 23:32 +0000
  Re: Installing Python on CentOS 6 - a big pain "Albert W. Hopkins" <marduk@letterboxes.org> - 2012-01-18 19:03 -0500
  Re: Installing Python on CentOS 6 - a big pain alex23 <wuwei23@gmail.com> - 2012-01-18 19:10 -0800
    Re: Installing Python on CentOS 6 - a big pain Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-19 04:36 +0000
      Re: Installing Python on CentOS 6 - a big pain Chris Angelico <rosuav@gmail.com> - 2012-01-19 20:43 +1100
        Re: Installing Python on CentOS 6 - a big pain Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-19 10:47 +0000
          Re: Installing Python on CentOS 6 - a big pain Chris Angelico <rosuav@gmail.com> - 2012-01-19 22:05 +1100
          Re: Installing Python on CentOS 6 - a big pain Noah Hall <enalicho@gmail.com> - 2012-01-19 11:08 +0000
          Re: Installing Python on CentOS 6 - a big pain Christian Heimes <lists@cheimes.de> - 2012-01-19 12:16 +0100
          Re: Installing Python on CentOS 6 - a big pain Chris Angelico <rosuav@gmail.com> - 2012-01-19 22:27 +1100
      Re: Installing Python on CentOS 6 - a big pain Benedict Verheyen <benedict.verheyen@gmail.com> - 2012-01-20 10:39 +0100
        Re: Installing Python on CentOS 6 - a big pain rusi <rustompmody@gmail.com> - 2012-01-20 09:32 -0800
        Re: Installing Python on CentOS 6 - a big pain Anssi Saari <as@sci.fi> - 2012-01-20 13:42 +0200
          Re: Installing Python on CentOS 6 - a big pain Benedict Verheyen <benedict.verheyen@gmail.com> - 2012-01-23 13:42 +0100

csiph-web