View Single Post
Posts: 240 | Thanked: 68 times | Joined on Nov 2009
#1
Sorry for the post title I don't know what to name it

I am a complete noob with linux and have no idea what I'm doing. However, I have some questions. I know I'm not supposed to go into that stuff..

i have seen in another post a code to use

http://talk.maemo.org/showthread.php...ghlight=libqt4

mikhmv
01-08-10 , 07:59 PM
Posts: 125 | Thanked: 46 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
Report This | #2
1. install rootsh
2. open x-term
3. sudo gainroot
4. dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n | more

You will get sorted list all installed packages with sizes in Kb. You will get page by page. for next page press "space" for exit "q"
if you want to export list to file use:

dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n >> FileName

for looking file use
cat FileName | more

I did do that and I saw that I have a lot of large files from applications I had installed from the devel but then removed.

example: I have 34404 for freeciv-data and 33996 for vultures...

Is there a way to clean up those unused files automatically or even by deleting them 1 by 1?