Python shell: Arrow keys not working in PuTTY
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Feb 24 00:59:59 EST 2015
Ned Deily wrote:
> In article <54ebdcfa$0$11100$c3e8da3 at news.astraweb.com>,
> Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
>> Almost right!
>>
>> You can install Python from source. Unzip the source tar ball, cd into
>> the source directory, and run:
>>
>> ./configure
>> make
>>
>> BUT do *not* run `make install` as that will overwrite your system Python
>> and Bad Things will happen. Instead, run `make altinstall`.
>
> With no --prefix= on ./configure, the default install location is to
> /usr/local, so "make install" would install a link at
> /usr/local/bin/python (or python3) and it would only overwrite your
> system Python if the system Python happened to be installed in
> /usr/local/bin/.
Well, I'm not going to say you are wrong, but I can say that on Centos 5
systems (and presumably that includes Fedora and Red Hat of the equivalent
vintage), if you just run `make install` it overwrites the /usr/bin/python
hard link to /usr/bin/python2.4. I know because I've done it :-(
--
Steve
More information about the Python-list
mailing list