Results 1 to 7 of 7

Thread: When Removing an Application/Program, Are Any Traces Left Behind?

  1. #1
    Join Date
    Sep 2012
    Beans
    5

    When Removing an Application/Program, Are Any Traces Left Behind?

    Hi, I'm new to the Ubuntu 12.04 OS. I've noticed that Windows leaves traces ("leftovers") in the registry and also leaves some useless folders and files behind after removing a program. I'm wondering if Ubuntu does the same? If so, how can I remove all files and folders associated with an application/program I am removing?
    Last edited by Junior UB; September 17th, 2012 at 06:28 PM.

  2. #2
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    Ubuntu doesn't use a registry like windows. So don't worry about it or compare it to windows. The only thing is when i you install any package the packages will be stored in caches. You can clean that by executing the following command.

    Code:
    sudo apt-get clean all
    You can also use the following command to remove associated packages of an uninstalled package.

    Code:
    sudo apt-get autoremove

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    +1 .....
    additionally depending on re-install intents there is the option to delete the config files or leave them in place.
    Code:
    man apt-get
    man dpkg
    are good reads.

    hth <==BDQ

  4. #4
    Join Date
    Sep 2012
    Beans
    5

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    Thanks for your reply karthick87. That answered my question.

  5. #5
    Join Date
    Sep 2012
    Beans
    5

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    Are these "config files" leftovers from removed packages?

  6. #6
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    When you remove a package, any associated configuration files are NOT removed

    Code:
    sudo apt-get remove foo
    To remove the config files, you need to purge a package

    Code:
    sudo apt-get purge foo
    See man apt-get

    Even purging a package will leave config files in $HOME, config files in $HOME must be manually removed. Look at .files (.local, .config, etc)
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  7. #7
    Join Date
    Sep 2010
    Location
    Central Calif
    Beans
    1,208
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: When Removing an Application/Program, Are Any Traces Left Behind?

    And if you want to see what it removes, install Synaptic Package Manager if you don't have it. Open it and find the package you want to uninstall by typing the name in the search bar. Right click on the package and mark to 'Completely Remove'.
    Remember When Double-Dog dare ya's and water balloons were the ultimate weapon?

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
  •