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

Thread: Clean up hidden files after package removal

  1. #1
    Join Date
    Sep 2009
    Location
    California U.S.A.
    Beans
    398

    Clean up hidden files after package removal

    I have noticed that after I uninstall a package from my system the hidden files in my home directory are still there. For example I used to have an application called proxychains installed. But then after I uninstalled it with the Ubuntu Software Center there was still a .proxychains folder in my home folder. Is there a way to remove all these files? Also are they stored anywhere else except home? I ask because I would like to clean up my system and I am O.K. with reconfiguring my applications if I do decide to install them at a later date.

  2. #2
    Join Date
    Jun 2010
    Beans
    25

    Re: Clean up hidden files after package removal

    Tryed "sudo apt-get autoremove" in Terminal? or "sudo apt-get autoclean" "Sudo apt-get clean"?

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

    Re: Clean up hidden files after package removal

    Quote Originally Posted by seanarickymurphy View Post
    Tryed "sudo apt-get autoremove" in Terminal? or "sudo apt-get autoclean" "Sudo apt-get clean"?
    That only works for system files.

    Quote Originally Posted by dodo3773 View Post
    I have noticed that after I uninstall a package from my system the hidden files in my home directory are still there. For example I used to have an application called proxychains installed. But then after I uninstalled it with the Ubuntu Software Center there was still a .proxychains folder in my home folder. Is there a way to remove all these files? Also are they stored anywhere else except home? I ask because I would like to clean up my system and I am O.K. with reconfiguring my applications if I do decide to install them at a later date.
    For files in your home directory you can safely ignore them, or remove them manually, or use a tool such as bleachbit. Take care with tools such as bleachbit that you do not remove too much =)
    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

  4. #4
    Join Date
    Oct 2008
    Location
    Truckee, CA
    Beans
    98
    Distro
    Kubuntu

    Re: Clean up hidden files after package removal

    Code:
    sudo apt-get clean
    That gets rid of any package files left over.

    The stuff in the home directory is safe to delete if you don't plan on re-installing the software. Just make sure there's nothing in there that you want to keep.

  5. #5
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,809
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Clean up hidden files after package removal

    Those are left behind just in the case you will install the package again , you settings will not be lost.
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  6. #6
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,434
    Distro
    Ubuntu Development Release

    Re: Clean up hidden files after package removal

    Perhaps this would help

    Code:
    apt-get purge packagename

  7. #7
    Join Date
    Sep 2009
    Location
    California U.S.A.
    Beans
    398

    Re: Clean up hidden files after package removal

    Quote Originally Posted by tgm4883 View Post
    Perhaps this would help

    Code:
    apt-get purge packagename
    Alright, so I tried

    sudo apt-get clean
    sudo apt-get autoremove
    sudo apt-get autoclean
    sudo apt-get purge proxychains
    It said that proxychains was not installed so I installed it again and ran sudo apt-get purge proxychains again and even after running all these commands the folder is still there. I checked out bleachbit and it looked like just all the same commands we just tried.

  8. #8
    scouser73's Avatar
    scouser73 is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2008
    Beans
    1,663
    Distro
    Ubuntu Development Release

    Wink Re: Clean up hidden files after package removal

    I use Bleachbit, as bodhi.zazen mentioned, you should give that a go.

  9. #9
    Join Date
    Sep 2009
    Location
    California U.S.A.
    Beans
    398

    Re: Clean up hidden files after package removal

    Quote Originally Posted by scouser73 View Post
    I use Bleachbit, as bodhi.zazen mentioned, you should give that a go.
    Is it the .DS_Store option or something under Deep scan? I have tried a lot of the other options with no luck.

  10. #10
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,434
    Distro
    Ubuntu Development Release

    Re: Clean up hidden files after package removal

    It's going to be on a per application basis whether it removes the folder in your home dir or not. A lot of application don't delete things from /home

Page 1 of 2 12 LastLast

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
  •