D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Those Windows temp files!

 

The Ubuntu package manager stores downloaded copies of packages on your
hard disc, which can mount up after a while. The apt-get programme
provides a method for cleaning these out:

The following command removes all the downloaded copies of old packages,
ones which you don't have installed any more or have been updated...

$ sudo apt-get autoclean

and running this command will erase all the cached packages.

$ sudo apt-get clean

You can have the system automatically run the first command every 7 days
 by executing the command below.

echo "APT::Periodic::Autoclean \"7\";" | sudo tee -a
/etc/apt/apt.conf.d/50autoclean

Ubuntu clears /tmp on system boot, another temporary folder /var/tmp/ is
not cleared on boot at all but it is rarely used.

Put it this way, with 40GB of main storage on my desktop here I don't
have a problem with temporary files consuming my storage space. So,
unless you find yourself lacking space very suddenly (DVD authoring
etc.) its generally not needed.

Regards,
Chris

christopher.berry1@xxxxxxxxxxxxxx wrote:
> 
> Posted by "Berry Christopher" <christopher.berry1@xxxxxxxxxxxxxx>
> 
> 
> This may seem obvious to most of you BUT I am very conscience of not 'Disk 
> cleaning' as I did in Windows - getting rid of temp internet files etc. 
> Are these cleaned out automatically or do I have them piling up AND if so what do 
> I do?
> As a 'newbie' who is working in Ubuntu 6.10 I can say that everything is running 
> very smoothly - it seems to me that all I'm missing is the hours wasted on 
> Civilisation IV etc etc!!!
> Thank you,
> Christopher Berry.
> --
> ++++++++++++++++++++++++++++++++
> 
> Generated by the contributors page 
> in the members area at D+C GLUG
> http://www.dcglug.org.uk/members/list.php
> webmaster@xxxxxxxxxxxxx
> 
> 

-- 
Chris Smith
http://users.toonarmy.mine.nu/~chris/

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html