Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Oof. My /usr partition is full. It was a smaller hard drive I was using and I setup the partition with a little over a gig of space.
Now it is full.
I need to figure out what would be the best way to free up some room. I setup the box to do some testing for a backup system we are going to implement in the future.
Does anyone have any suggestions on what I can do to free some room?
At this moment, the box is running RH 8.0. I need Samba and Gnome installed as well as the other basics. Other than that, that is it.
You say it's a backup machine for testing? So do you need the documentation? Removing man pages, and even moreso, the info pages might clear quite a bit of space.
Also the kernel source. You probably want to keep it, but deleting just the "Documentation" directory will clear up quite a bit of space.
In kernel source you *could* delete the other architecture folders such as m68k or ia64 but I'm not sure about the ramifications of doing that.
You can also go into any source directories for programs you have built and installed and run "make clean" or "make mrproper" or sometimes similar commands to delete all the temporary files the source programs use when compiling. Better yet, you could just delete the source folders if you already have the programs installed since the binaries should have been placed into other folders when you did the install.
Another idea is to get a new partition and make it as a sub folder of /usr, such as /usr/local but that assumes you have free hard drive space somewhere else.
Another idea is to get a new partition and make it as a sub folder of /usr, such as /usr/local but that assumes you have free hard drive space somewhere else.
It is funny that you mention this, because I have considered resizing a few partitions. However, I am not sure how to do that.
If I remember correctly, the program, partd(?) will do this, correct?
Know of a good place/link that has a how-to of some sort? Or do you use this for trial and error sort a speak.
If all you need is gnome, samba, and a couple more progs, It REALLY shouldn't be taking up over a gig of space (especially in just /usr). Did you install everything? Check out what you've got in {/usr/bin, /usr/local/bin, /usr/sbin/,/usr/local/sbin} and think about un-installing some stuff. I think that the man/info/(add locales to that) should probably save you +-30MB, but then you don't have any documentation. It really sucks to not have manpages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.