You are not logged in.
Pages: 1
Hello,
I'm running out of space so I want to clean my system.
What do you advice me to do ?
I've scanned my disk with Baobab and it seems I've a lot of useless file in /usr/share/local. I guess I don't need russian or spanish language packages.
My /var/abs/local/yaourtbuild contains 2.1 Gb of file for Songbird and notify-osd-bzr. Do I still need this files ?
thank you
English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro
Offline
pacman -Scc?
Offline
Hi,
really don't know about your files. From personal experience I can say, that for me, running out of space on root is mostly due to the cached packages. You can remove those using pacman (don't do it by hand!!!!). Be aware, that cleaning out the cache will make a downgrade for specific packages much harder, as you need to find the specific version on the net (in case an update brakes something).
Check the pacman wiki for the commands, so you know what you are doing. The same commands also work for yaourt, as far as I know.
Offline
Hand over the spoon Milt...
Offline
I've already done it with "pacman -Qdt" so I think I'm ok for the packages
I'm looking for tips to save space
on ubuntu I had to delete old kernel for exemple but I don't think I've this problem in archlinux
English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro
Offline
Try localepurge or BleachBit to delete localizations for languages you don't use. BleachBit can also be used for general cleaning.
Offline
I've already done it with "pacman -Qdt" so I think I'm ok for the packages
No, -Qdt is something different. It just looks for programs that were auto-installed as dependencies, and aren't needed anymore for whatever reason. On a well-used system it will give no results most of the time.
Using -Sc will remove the installation-files (.tar.gz files) of all uninstalled packages.
Using -Scc will remove ALL installation-files.
/var/log can grow large too... But my sense of "large" is probably a bit different, keeping my OS on a 2,5 GB partition (of a flash stick).
Last edited by TaylanUB (2010-02-12 17:00:07)
``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein
Offline
My /var/abs/local/yaourtbuild contains 2.1 Gb of file for Songbird and notify-osd-bzr. Do I still need this files ?
No you don't. Also I would strongly suggest to build in your $HOME instead (if it is on a separate partion), since running out of space on / can lead to bad things(tm) happening.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
That's why you NEED a /var partition... especially in Arch Linux (lots of cache and downloaded source code)
I don't know why it is no more a strong recomendation (I even don't know if Arch installer automatic partionning tool makes a /var). When i started with Linux... well.. years ago there was a mantra :
"/ ~5Go; /var ~3Go; swap 2*RAM; /home all the rest "
Nowadays, the proportion have changed (twice the RAM is lot lot to much and 5Go may be quite short) but a /var is still necessary. The ability to mount a separate partion here is the raison d'être of /var in UNIX(-like) systems and is one of the killer features that make them simply more rational than others
Last edited by troodux (2010-02-12 21:15:40)
Offline
If you'd prefer a shell tools to analyze your usage, ncdu rocks.
# ncdu /
Last edited by graysky (2010-02-12 21:52:10)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Try localepurge or BleachBit to delete localizations for languages you don't use. BleachBit can also be used for general cleaning.
Any downside to using localepurge or BB dependency-wise down the road...? Seems like this is a task best suited for pacman itself, no?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I don't have any problems dependency-wise.
A possible problem could be if you switch to a localization that you previously deleted files for...
Last edited by anonymous_user (2010-02-12 22:25:30)
Offline
"pacgraph -c" (it is in the AUR) will measure the total size of each installed app + dependencies. Very useful for find programs not worth their megabytes.
Offline
Also I would strongly suggest to build in your $HOME instead (if it is on a separate partion), since running out of space on / can lead to bad things(tm) happening.
No I'm using the same partition for my home folder. I just have a different partition for the files I need to share between different partition (documents, music, firefox profile,...) but the configuration of the programs is on the same 20Gb partition
On the 20gb, I've about 6gb used in my home folder and 10gb for the system (after cleaning)
Is there a "nice way" to delete the source files in /var/abs/local/yaourtbuild or should I just do a "rm -rf" ?
With localepurge, I cleaned the languages files (about 400mb freed)
thanks
ps: by the way, fun bug when I select all the folder in / and right click, properties
http://img153.imageshack.us/img153/7672/diskspace.png
Last edited by martvefun (2010-02-13 00:52:46)
English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro
Offline
Try localepurge or BleachBit to delete localizations for languages you don't use. BleachBit can also be used for general cleaning.
Wow - me like . I step closer to reclaiming some space , Thank You !
[wesley@ratdog ~]$ df -ha
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 7.4G 6.8G 527M 93% /
udev 10M 188K 9.9M 2% /dev
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
none 2.0G 0 2.0G 0% /dev/shm
/dev/sdb1 99M 14M 81M 15% /boot
/dev/sdb4 291G 45G 246G 16% /home
gvfs-fuse-daemon 0 0 0 - /home/wesley/.gvfs
[wesley@ratdog ~]$ sudo updatedb
Password:
[wesley@ratdog ~]$ df -ha
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 7.4G 6.2G 1.2G 85% /
udev 10M 188K 9.9M 2% /dev
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
none 2.0G 0 2.0G 0% /dev/shm
/dev/sdb1 99M 14M 81M 15% /boot
/dev/sdb4 291G 45G 246G 16% /home
gvfs-fuse-daemon 0 0 0 - /home/wesley/.gvfs
Offline
I was wondering... Anyone here remember the good old du?
Offline
"pacgraph -c" (it is in the AUR) will measure the total size of each installed app + dependencies. Very useful for find programs not worth their megabytes.
Great tip! I just recovered 724 Mb with the help of this app.
# pacman -Rs k3b ekiga tomboy gnome-games gnome-games-extra-data samba dasher festival-kallpc16k festival orca epiphany stopwatch cheese
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Pages: 1