LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   freeing up space (https://www.linuxquestions.org/questions/linux-newbie-8/freeing-up-space-728730/)

Paul Griesbaum 05-26-2009 09:07 PM

freeing up space
 
In Windows you can uninstall programs from add/remove. I would like to trim my Mandriva 2009 home folder by removing apps I never use. Is there a better way of doing this rather than opening up the install and remove software. I'd like something that would give me a list of software installed on my Mandriva system and then be able to remove the apps that are taking up a lot of space. Thanks.

billymayday 05-26-2009 09:19 PM

You typically don't have apps in your "home folder".

Do you mean you just want to clean up your root partition (ie "/")?

Paul Griesbaum 05-26-2009 10:12 PM

freeing up space for Mandriva
 
Well, here's the situation. When I check the system monitor it says that dev/sda6/home has 83g used on a 250g hard drive. Whenever I use the system backup utility in Mandriva it has this partition as the partition to be backed up. I'd like to do something that would remove a lot of things I'm not using. I assumed since this dev/sda6/home partition showed 83g space used that that's where the files that are taking up the space reside. What would be your suggestion to reclaim the space being used?

billymayday 05-26-2009 10:23 PM

Yes, I would assume that too, but I would not assume that these are applications in this case.

What I do when things look full is twofold.

From th command line (I hope you are at least vaguely comfortable with the command line), as root try
Code:

df -h
You should get something like
Code:

]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              29G  5.6G  22G  21% /
/dev/sda1              99M  24M  71M  25% /boot
tmpfs                753M    0  753M  0% /dev/shm
/dev/sda3            263G  93G  157G  38% /home
/dev/sdb1            276G  189G  73G  73% /storage

I'd then cd into /home and start digging around with du to work out where I should start. Try (again, as root)
Code:

cd /home
du -h --max-depth=1

and see how that usage is distributed. Then we can give you some more ideas.


All times are GMT -5. The time now is 01:22 AM.