Find the answer to your Linux question:
Results 1 to 6 of 6
This question stems from a conversation I got into last night with a non Linux user. We were talking about how when you install some application in windows and then ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Location
    London
    Posts
    66

    Removing aplications?

    This question stems from a conversation I got into last night with a non Linux user. We were talking about how when you install some application in windows and then remove it it leaves bit of files here, there and everywhere. I explained how things were somewhat different in Linux, specifically Ubuntu.

    But is it? i mean since I've used Ubuntu I've installed some things, mainly via the Software center or through Synaptic and occasionally the CLI. Last week was a good example when I wanted to try a particular type of application. I went to Software Centre installed about four different ones, tried them to see which I liked best and then removed the others. I felt much more confident doing this i Ubuntu than I ever did in Windows. But still is it leaving bits of junk on my system that will slow things down eventually?

    Mariane

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    It won't leave any bits of that package. But it will leave other packages that were installed automatically because your package was dependent on them. There should be a way of identifying such "orphan" packages so that you can remove them by hand. In Debian you would use the deborphan command but I don't know if that exists on Ubuntu.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    thats also not quite true, it will leave configuration files for that package, unless you specify purge option

    it shouldn't slow anything down, just takes up disk space

  4. #4
    Just Joined!
    Join Date
    Aug 2008
    Location
    London
    Posts
    66
    Quote Originally Posted by coopstah13 View Post
    thats also not quite true, it will leave configuration files for that package, unless you specify purge option

    it shouldn't slow anything down, just takes up disk space
    Yes I assumed it might leave some other dependencies, which may at some point be required by something else.

    But... how do I --safely-- execute the purge option??

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    if the package isn't installed, no need for config files, unless you want to keep them for some other time you install the package

    if you run apt-get on command line just add --purge, there is a purge option in synaptic when you right click

    as far as safety goes, it should be fine, all it does is remove the package like normal, but removes config files as well, it shouldn't cause issues

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    But even with purge, it doesn't remove configuration files in your home directory. It just removes the system wide config files.

Posting Permissions

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