Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Is there a way to unstall Python 2.7?

  1. #1
    Join Date
    Jun 2005
    Location
    Gray, TN
    Beans
    57
    Distro
    Ubuntu Studio 10.10 Maverick Meerkat

    Is there a way to unstall Python 2.7?

    I installed 2.7 yesterday and am having problems with screenlets not running, etc.

    Does anyone know a way of uninstalling 2.7 such that the system falls back to 2.6?
    ~/ sweet ~/

  2. #2
    Join Date
    Aug 2010
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to unstall Python 2.7?

    *Bump* I would like to know as well

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Is there a way to unstall Python 2.7?

    How did you install 2.7 ?

  4. #4
    Join Date
    Nov 2009
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to unstall Python 2.7?

    Quote Originally Posted by papibe View Post
    How did you install 2.7 ?
    Good point. My system seems to be running 2.6 by default. Did you install 2.7 on your own? If not you could already be running 2.6.

    (I'm not trying to suggest you aren't smart enough to know which version you are running. Everyone makes mistakes and it can be helpful to ask these questions sooner rather than later.)

    If you are, indeed, running 2.7 there seem to be entries for both 2.7 and 2.6 in the ubuntu software center. Rolling back to 2.6 would probably be as simple as opening up the software center, uninstalling 2.7 and installing 2.6.

  5. #5
    Join Date
    Jun 2005
    Location
    Gray, TN
    Beans
    57
    Distro
    Ubuntu Studio 10.10 Maverick Meerkat

    Re: Is there a way to unstall Python 2.7?

    I installed 2.7 on my own.
    ~/ sweet ~/

  6. #6
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Is there a way to unstall Python 2.7?

    I installed 2.7 on my own.
    I'm afraid we need more information to offer some advice. We need to know the method you used to install it. For example:

    • from a ppa, which one?
    • from a .deb package, if so where did you get it?
    • compiled from source, where did you get it?
    • following instructions from a tutorial, which one?

    Regards.

  7. #7
    Join Date
    Aug 2010
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to unstall Python 2.7?

    (Running 10.10 x64)
    I would guess from source from the python homepage, at least thats how I did it.
    http://www.python.org/download/

    I used this one:
    http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2

    Just did a basic

    ./configure
    sudo make
    sudo make install


    Note Python 2.6.5 is still installed yet nothing works (it seems like its trying to use 2.7)


    It sounds like the OP is in the same boat as myself
    Last edited by Melon Bread; October 18th, 2010 at 10:46 PM.

  8. #8
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Is there a way to unstall Python 2.7?

    I have downloaded the package, read the docs, and went to the python wiki site. It does not look promising. It seems there's no actual uninstall process/tool yet (but it's in the making: read here).

    Also I've learned that several versions can coexist together. You just need to point to the one you want to use. In my case:
    Code:
    $ ls -l /usr/bin/python*
    lrwxrwxrwx 1 root root       9 2010-06-27 12:56 /usr/bin/python -> python2.6
    lrwxrwxrwx 1 root root       9 2010-06-27 12:56 /usr/bin/python2 -> python2.6
    -rwxr-xr-x 1 root root 2288240 2010-04-16 09:06 /usr/bin/python2.6
    The actual "python" command is a symbolic link to python2.6. Check how python is set in your system. If you are in a similar situation in which python is just a link, then you could do this:

    Code:
    $ sudo rm /usr/bin/python /usr/bin/python2
    $ sudo ln -s /usr/bin/python2.6 /usr/bin/python
    $ sudo ln -s /usr/bin/python2.6 /usr/bin/python2
    This way any reference to "python" will go the 2.6 version.

    Good Luck!
    Last edited by papibe; October 18th, 2010 at 11:54 PM. Reason: command to link python2 included, just in case.

  9. #9
    Join Date
    Aug 2010
    Location
    USA
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Is there a way to unstall Python 2.7?

    @papibe: Thank you, I went ahead and got help on IRC, but your way works just as well. Thanks for posting the solution

  10. #10
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Is there a way to unstall Python 2.7?

    You're very welcome. If you finally learned how to uninstall it, or got a better method that the link trick, please post it here. That way, other users read benefit from it.

    Regards.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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