Announcement

Collapse
No announcement yet.

[Solved] Installing Pyhon 2.5

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] Installing Pyhon 2.5

    Hello Everyone,

    I'm new to Kubuntu and new to the Kubuntu forums. I just switched from Ubuntu out of curiosity and because I like the look of KDE.

    Have run into a fwe glitches and problems, some I was able to solve with the help of Google, but others not.
    I don't know how I should go about asking all my questions, but I will just start with one.

    For a beginning programming book I have that comes with software I need to be able to run Python 2.5.
    I tried installing it through Synaptic, but it broke my system and I had to do a clean install.
    Is it possible at all to install Python 2.5 and use it without detrimental effects to my system?

    #2
    Re: Installing Pyhon 2.5

    The following commands should get the job done:
    Code:
    cd ~/Downloads
    #32bit
    wget [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5-minimal_2.5.4-1ubuntu6.1_i386.deb[/url]
    wget [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5_2.5.4-1ubuntu6.1_i386.deb[/url]
    #64bit
    [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5_2.5.4-1ubuntu6.1_amd64.deb[/url]
    [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5-minimal_2.5.4-1ubuntu6.1_amd64.deb[/url]
    sudo dpkg -i python2.5*.deb
    python2.5
    Let me know the result
    ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

    Comment


      #3
      Re: Installing Pyhon 2.5

      Hi ubuntuku ,

      Thank you for helping. I tried it, but only the python version for 32-bit systems downloads. I'm on a 64 bit system, so that one won't install.

      I get this message from bash. It's in Dutch, it says the file or folder doesn't exist.

      bash: http://archive.ubuntu.com/ubuntu/poo...6.1_amd64.deb: Bestand of map bestaat niet

      Comment


        #4
        Re: Installing Pyhon 2.5

        Was able to retrieve both .deb packages using wget here. Not to pry, but what Country are you in?
        Slava Ukraini! 🇺🇦
        Windows no longer obstruct my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Installing Pyhon 2.5

          Sorry forgot to add wget command :
          Code:
          cd ~/Downloads
          wget [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5_2.5.4-1ubuntu6.1_amd64.deb[/url]
          wget [url]http://archive.ubuntu.com/ubuntu/pool/main/p/python2.5/python2.5-minimal_2.5.4-1ubuntu6.1_amd64.deb[/url]
          sudo dpkg -i python2.5*.deb
          python2.5
          ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

          Comment


            #6
            Re: Installing Pyhon 2.5

            @Snowhog : I'm in the Netherlands and have my system's language set to Dutch. I changed the language settings of Konsole to English, but the output still remains in ...Well it's not Dutch, it's more like "Danglish".
            Maybe I have to change the Language settings of my whole system to English? I'd prefer not to.

            Anyway, here is the output I get in Konpython-minimal (2.7.1-0ubuntu5) breaks python2.5-minimal (<< 2.5.5-7) and is geïnstalleerd.sole. It seems to be a dependency problem. Python 2.5 is dependent on libdb4.6, which isn't installed.

            The other important line seems to be ython-minimal (2.7.1-0ubuntu5) breaks python2.5-minimal (<< 2.5.5-7) and is geïnstalleerd.(means installed)

            Please let me know if I have to change my system language. If it's more helpfull I will .



            Code:
            dpkg: vereistenproblemen verhinderen de configuratie van python2.5:
             python2.5 is afhankelijk van libdb4.6; maar:
             Pakket `libdb4.6' is niet geïnstalleerd.
            dpkg: fout bij afhandelen van python2.5 (--install):
             vereistenproblemen - blijft ongeconfigureerd
            dpkg: vereistenproblemen verhinderen de configuratie van python2.5-minimal:
            [color=red] python-minimal (2.7.1-0ubuntu5) breaks python2.5-minimal (<< 2.5.5-7) and is geïnstalleerd.[/color]
             Version of python2.5-minimal to be configured is 2.5.4-1ubuntu6.1.
            dpkg: fout bij afhandelen van python2.5-minimal (--install):
             vereistenproblemen - blijft ongeconfigureerd
            Processing triggers for man-db ...
            Fouten gevonden tijdens behandelen van:
             python2.5
             python2.5-minimal

            Comment


              #7
              Re: Installing Pyhon 2.5

              Ok, first run the command below to fix the broken package:
              Code:
              sudo apt-get -f install
              Press 'y' to the prompt.

              Next install python v2.5.5-8 from Felix Krull ppa:
              Code:
              sudo add-apt-repository ppa:fkrull/deadsnakes
              sudo apt-get update
              sudo apt-get install python2.5
              ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

              Comment


                #8
                Re: Installing Pyhon 2.5

                Yes! it installed! Thank you very much for your help. problem solved

                Comment

                Users Viewing This Topic

                Collapse

                There are 0 users viewing this topic.

                Working...
                X