View previous topic :: View next topic |
Author |
Message |
thegazer Tux's lil' helper
Joined: 15 Jun 2002 Posts: 76 Location: Melbourne
|
Posted: Sat Jun 29, 2002 8:15 am Post subject: removing unnecessary files.. |
|
|
my root partition are filling up..
how do I remove files from emerging programs?
besides the downloaded source files... I might need that later.. |
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Sat Jun 29, 2002 8:42 am Post subject: |
|
|
there is no need to keep files like /usr/portage/distfiles of probably /usr/portage/packages/All on the rooot partition. if you have eg /home on another partition, mv the directories there and link them: Code: | cd /usr/portage/
mv distfiles /home
ln -s /home/distfiles . |
Same can be made for any other data, that is not needed for the system to boot or to be maintained, eg /opt (which normally becomes rather large, currently 600MB here)
* ElCondor pasa * _________________ Here I am the victim of my own choices and I'm just starting! |
|
Back to top |
|
|
ZagiFlyer Tux's lil' helper
Joined: 19 Apr 2002 Posts: 93 Location: San Jose, CA
|
Posted: Mon Jul 01, 2002 8:37 pm Post subject: |
|
|
Once you've emerged a package, you can delete it from /usr/portage/distfiles if you don't plan on re-emerging it anytime soon (or don't mind downloading it again). _________________ "Beer is proof that God loves us and wants us to be happy"
--Ben Franklin |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jul 01, 2002 8:44 pm Post subject: |
|
|
rm -r /var/tmp/portage/, but make sure nothing is compiling first. |
|
Back to top |
|
|
|