Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, i have CentOS EL 5.1 The latest python there is 2.4.3 and its marked as latest version. I read here and here its not recommended to upgrade python manually ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User postcd's Avatar
    Join Date
    Apr 2011
    Posts
    350

    How can i install new Python parellelly with old version?


    Hello, i have CentOS EL 5.1
    The latest python there is 2.4.3 and its marked as latest version.

    I read here and here its not recommended to upgrade python manually on CentOS so i want to install new version paralelly because an application i want to use requires higher python version (creator told it to me) and it failed to install using my version. How can i install new python paralelly, easilly please?

    Python download: Download Python

    thank you

    ----
    UPDATE: Here is some steps on how it can be installed (hopefully).

    When i followed the steps it told me this after i did "make" command:

    Python build finished, but the necessary bits to build these modules were not found:
    _bsddb _curses _curses_panel
    _sqlite3 _ssl _tkinter
    bsddb185 bz2 dbm
    dl gdbm imageop
    readline sunaudiodev zlib
    To find the necessary bits, look in setup.py in detect_modules() for the module's name.

    How can i install these?
    Last edited by postcd; 11-19-2013 at 03:17 PM.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    do a "yum list available" and pipe that to a file.

    then grep that file for those package names. look for packages that have -devel in them and that's probably what you want (those packages contain header files which are used when compiling other programs). that won't get all of them, but it is a start.

  3. #3
    Banned
    Join Date
    Dec 2013
    Posts
    10
    thank you for this

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •