Announcement

Collapse
No announcement yet.

how to clear temp or cache stuff?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to clear temp or cache stuff?

    Is there some kind of a "drive clean up tool" in kubuntu?

    I am running tight on space and I wonder if the cache files from programs like amule, firefox etc.. could be taking up space.

    #2
    Re: how to clear temp or cache stuff?

    I don't know of such a tool for that really. I would try emptying the Trash can, and maybe look at installed packages you don't need. Synaptic allows to sort packages by installed size. If you have been upgrading from previous versions, you may have older kernels you never use (those take a lot of space). Also, you can clean the package cache from synaptic (downloaded packages that have been installed already), and configure synaptic to always keep that cache empty. This last bit can be done in Konsole, by typing:

    Code:
    sudo apt-get clean
    Another useful tool is gtkorphan, to remove un-needed libraries (again, mostly useful if you've been upgrading from previous versions, or installing/uninstalling lots of software)

    Hope this helps, good luck!

    Comment


      #3
      Re: how to clear temp or cache stuff?

      Yep, also
      Code:
      sudo apt-get autoclean
      You didn't say how much you started with -- Kubuntu needs 6 - 7G to be able to do anything (like download an ISO). If you have that much or more, you can, at the "/" directory level, use the du command, with the --max-depth=1 option to see which major directory is hogging the space. So

      Code:
      sudo du -h --max-depth=1
      will show something like:

      Code:
      5.4M  ./bin
      26M   ./boot
      2.8M  ./dev
      13M   ./etc
      8.8G  ./home
      243M  ./lib
      4.3M  ./lib32
      760G  ./media
      0    ./mnt
      0    ./nvidia
      381M  ./opt
      0    ./proc
      932K  ./root
      9.3M  ./sbin
      0    ./srv
      0    ./sys
      20M   ./tmp
      3.1G  ./usr
      657M  ./var
      773G  .
      depending, of course, on what all you've got mounted on /media, what you've installed in /opt, etc.

      Comment


        #4
        Re: how to clear temp or cache stuff?

        Is there some kind of a "drive clean up tool" in kubuntu?
        Package: sweeper
        history and temporary file cleaner for KDE 4

        Sweeper can quickly remove temporary information, such as web page cookies, browser history, or the list of recently-opened documents. It helps provide additional privacy on a system shared between multiple users.

        This package is part of the KDE 4 utilities module.

        More:

        > Privacy Cleanup 101
        > FAQ: Free Disk Space
        > HOWTO: Cleaning local package archives
        > Cleaning up a Ubuntu GNU/Linux system
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: how to clear temp or cache stuff?

          Rog131 --thanks for the tip on sweeper:

          Installed through Adept, it shows up under K > Applications > Utilities > More.
          I ran a quick test on 8.10 just now, and it seems to work fine to clear many privacy settings.

          I included this note under Privacy Cleanup 101 (along with a "thanks" to you)--under Reply #10--an update post for 8.10.

          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment


            #6
            Re: how to clear temp or cache stuff?

            Good one -- thanks Rog and Mike!

            Comment


              #7
              Re: how to clear temp or cache stuff?

              How do you clear out old kernels?

              Comment


                #8
                Re: how to clear temp or cache stuff?

                Under How-To's: Rog131 has a how to on it ...
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  #9
                  Re: how to clear temp or cache stuff?

                  here:
                  http://kubuntuforums.net/forums/inde...opic=3082556.0
                  HOWTO: Removing unnecessary entries from the grub menu list
                  [and kernels]
                  An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                  Comment


                    #10
                    Re: how to clear temp or cache stuff?

                    You can search in Adept/Synaptic for "linux-headers" or "linux-image" or "linux-restricted-modules" and you will see all the old kernel versions (plus your current version) that might still be laying around. I can't remember which, but some of these files can be quite large.

                    Comment


                      #11
                      Re: how to clear temp or cache stuff?

                      Thank you guys for all the helpful advice. I figured out where all my space went.

                      aMule was taking up gigs of space during a download of a file that was 100 mb. Once the download was complete the space was freedup. Doesnt really make sense to me either but at least I got some space back! :P

                      Comment


                        #12
                        Re: how to clear temp or cache stuff?

                        related, but maybe not always for major MBs:

                        Rog131 pointed out this KDE cleaner:
                        sweeper

                        (I've tested it quickly on 8.10, and it seems to do as promised, cleaning 11 items.)
                        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                        Comment

                        Working...
                        X