Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 247265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:14:31+00:00 2026-05-11T21:14:31+00:00

Fedora Core 9 includes Python 2.5.1. I can use YUM to get latest and

  • 0

Fedora Core 9 includes Python 2.5.1. I can use YUM to get latest and greatest releases.

To get ready for 2.6 official testing, I wanted to start with 2.5.4. It appears that there’s no Fedora 9 YUM package, because 2.5.4 isn’t an official part of FC9.

I downloaded 2.5.4, did ./configure; make; make install and wound up with two Pythons. The official 2.5.1 (in /usr/bin) and the new 2.5.4. (in /usr/local/bin).

None of my technology stack is installed in /usr/local/lib/python2.5.

It appears that I have several choices for going forward. Anyone have any preferences?

  • Copy /usr/lib/python2.5/* to /usr/local/lib/python2.5 to replicate my environment. This should work, unless some part of the Python libraries have /usr/bin/python wired in during installation. This is sure simple, but is there a down side?

  • Reinstall everything by running easy_install. Except, easy_install is (currently) hard-wired to /usr/bin/python. So, I’d have to fix easy_install first, then reinstall everything.

    This takes some time, but it gives me a clean, new latest-and-greatest environment. But is there a down-side? [And why does easy_install hard-wire itself?]

  • Relink /usr/bin/python to be /usr/local/bin/python. I’d still have to copy or reinstall the library, so I don’t think this does me any good. [It would make easy_install work; but so would editing /usr/bin/easy_install.]

Has anyone copied their library? Is it that simple?

Or should I fix easy_install and simply step through the installation guide and build a new, clean, latest-and-greatest?


Edit

Or, should I

  • Skip trying to resolve the 2.5.1 and 2.5.4 issues and just jump straight to 2.6?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:14:31+00:00Added an answer on May 11, 2026 at 9:14 pm

    Normally, you would only have one version of a python release installed. Since 2.5.1 and 2.5.4 are from the same release, copying your libraries should work fine. What you would need to watch out for, is that you now have /usr/bin/python, and /usr/local/bin/python in your path, and some utilities may get confused.

    If you need to have both micro-releases installed at once, I would keep 2.5.4 out of your path altogether, or allow it to completely clobber the other (do so at your own risk though 😉
    If you go with the former, you can also point 2.5.4 to your site-packages by using the PYTHONPATH environment variable.

    Ubuntu takes a different route, and this is how you can handle different major releases. The python binary is given with the version appended:

    /usr/bin/python -> python2.6
    /usr/bin/python2.5
    /usr/bin/python2.6
    

    Each has their own /usr/lib/python2.X directory with versions of all the modules.

    And lastly, you can further customize your setup by modifying your site.py

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 116k
  • Answers 116k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer A case where regular expressions are justified: import re DATA… May 11, 2026 at 10:31 pm
  • Editorial Team
    Editorial Team added an answer Try dragging the static library into your xib browser in… May 11, 2026 at 10:31 pm
  • Editorial Team
    Editorial Team added an answer You should check out Boost::DateTime. But to answer your question… May 11, 2026 at 10:31 pm

Related Questions

Fedora Core 9 seems to have FCGID instead of FastCGI as a pre-built, YUM-managed
I am making use of AJAX on my site and I would like to
I recently installed KDE4.2 on my Fedora 9 machine, which already had Gnome, and
On Fedora Core 7, I'm writing some code that relies on ARG_MAX . However,
I have just installed VMWare Server 2.0 on a fresh Fedora Core 8 install.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.