You are not logged in.

#1 2009-12-12 16:06:56

rangalo
Member
Registered: 2008-06-25
Posts: 108
Website

How to clean up (something like apt-get clean) ?

Hi,

I noticed that the disk usage grows rapidly when I use pacman to upgrade / install packages.

Is there anything similar to apt-get clean , which in debian cleans up the downloaded binary ?

Is there any other way to keep the disk usage in control in arch ?


thanks & regards,
Hardik

Offline

#2 2009-12-12 16:07:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: How to clean up (something like apt-get clean) ?

Look at "man pacman".

Offline

#3 2009-12-12 16:10:48

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: How to clean up (something like apt-get clean) ?

Try

pacman -Sc

or

pacman -Scc

The first remove packages currently not installed from the cache while the later removes all packages from the cache (not recommended, since you will not be able to downgrade anything).

Offline

#4 2009-12-12 16:24:59

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: How to clean up (something like apt-get clean) ?

Additional info on the usage of pacman can be found in the wiki:

http://wiki.archlinux.org/index.php/Pacman


oz

Offline

#5 2009-12-12 16:30:50

rangalo
Member
Registered: 2008-06-25
Posts: 108
Website

Re: How to clean up (something like apt-get clean) ?

Hi MadTux,

I tried the first of your suggestions, but it didn't clean up much !

Is there any other way to clean up ?

Offline

#6 2009-12-12 16:37:39

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: How to clean up (something like apt-get clean) ?

Read the pacman wiki page. You can nuke all your packages with -Scc or just the installed ones with -Sc.  If that doesn't count as cleaning up I dunno what does!  Maybe something using dd smile


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2009-12-12 18:45:18

rangalo
Member
Registered: 2008-06-25
Posts: 108
Website

Re: How to clean up (something like apt-get clean) ?

Thanks guys,

I want to replace my debian sid (sidux) partition which is of 6 GB. Debian sid lives happily in 6 gig with all what I need kde4, fluxbox, oepnbox, xmonad and all. I am not sure if arch will have problems in accommodating itself in this space ..

Offline

#8 2009-12-13 23:50:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How to clean up (something like apt-get clean) ?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB