Results 1 to 7 of 7

Thread: Double installing, and uninstalling

  1. #1
    Join Date
    Jun 2013
    Beans
    37

    Double installing, and uninstalling

    I'm about 1 week into using my first Ubuntu box. I'm sure that I've accidentally installed (through apt-get) the same packages twice.

    Are there any negative consequences to this? It never prompts me, as Windows does, telling me that it's already installed. Does this install a second instance of the software? or does the second installation overwrite the first?

    Secondly, what should I do if I install something that I realize I don't want / need. Uninstalling seems like quite the chore on Ubuntu. Is there a good guide for this?

    Thanks!

  2. #2
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    2,867
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Double installing, and uninstalling

    No harm done, if you install something a second time it just overwrites the first (sorry, that was reinstall) says it's there already.

    I understand you installed via
    Code:
    sudo apt-get install <package name>
    Then you can uninstall via
    Code:
    sudo apt-get purge <package name>
    To remove any dependencies you no longer need after uninstalling some package you use
    Code:
    sudo apt-get autoremove
    Last edited by Impavidus; June 27th, 2013 at 07:24 PM.

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    9,649
    Distro
    Ubuntu Development Release

    Re: Double installing, and uninstalling

    May I suggest that you use the Ubuntu Software Centre in future? If an application is not installed the Software Centre will give us an Install button. If the application is installed then the Software Centre will give us a remove button. The software Centre does all the work. That is what it is there for. It will make sure that the application has all the dependencies (libraries) it needs. It will even install for us software we download as deb files.

    But we should keep in mind that software listed in the Software Centre has had a code audit to make sure that the code will not mess with the OS or our data. Applications downloaded from a web site do not gives us that security.

    Ubuntu is designed to be easy for ordinary users. Being Linux each of us is free to make things hard for ourselves by using the terminal. This is what I get when I just now tried to install a tool called gksu that I had already installed 30 minutes ago:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    gksu is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    This explains about apt-get

    https://help.ubuntu.com/community/AptGet/Howto

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #4
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,965
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Double installing, and uninstalling

    +1
    apt-get won't let you install two instances of the same package, unless it has been renamed.
    Jane, stop this crazy thing!

  5. #5
    Join Date
    Jun 2013
    Beans
    37

    Re: Double installing, and uninstalling

    Thanks, guys. Great info.

    Regarding the software center, I often can't find what I'm looking for there. I'm sure there's a way to install . . . what are they called? . . . . PPA's? But I often find ready directions for command-line installations. So that's why I'm gravitation toward using the console.

  6. #6
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    2,867
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Double installing, and uninstalling

    apt-get from the terminal and the software centre give you the same available software, but they have a completely different way of finding it. You can also try synaptic. I prefer it over both the software centre and the command line. You can install it from the command line with
    Code:
    sudo apt-get install synaptic

  7. #7
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,965
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Double installing, and uninstalling

    Quote Originally Posted by RangerK View Post
    Thanks, guys. Great info.

    Regarding the software center, I often can't find what I'm looking for there. I'm sure there's a way to install . . . what are they called? . . . . PPA's? But I often find ready directions for command-line installations. So that's why I'm gravitation toward using the console.
    Adding PPAs is a great way to expand your options. Make sure you trust the source. Also, if aPPA is hosted at launchpad.net, you can look the PPA up there and see when recent updates have been made. (This can give you an idea of how well-maintained it is. )
    Jane, stop this crazy thing!

Tags for this Thread

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
  •