View Single Post
Posts: 12 | Thanked: 5 times | Joined on Sep 2009 @ Oulu, Finland
#22
Alternative way to check optification. Doesn't calculate depencies though.
Note that this must be done in /home/user
If you do it in MyDocs (or elsewhere) it gives you wrong calculations due to vfat.

Code:
1.      cp <deb> /home/user/
2.      cd /home/user/
3.      mkdir tmp
4.      dpkg -x ./<deb> tmp
5.      cd tmp 
6.      du -sh usr 
7.      du -sh opt