no space, what can I delete?
Hello,
I've only got a small hard drive and I need to delete some things so I can get more on. What can I delete? There's 5GB in the /usr folder |
What kind of files do have in you're urs/folder
Which distro are you using |
Quote:
spool tmp dict i486-slackware-linux src X11R6 X11 libexec local sbin man info include lib share doc bin Using Slackware 14.0 |
Code:
# df -h |
# df -h
Code:
/dev/sdb1 7.4G 6.7G 406M 95% / Code:
147M /usr/libexec |
If you still have a little space, or can back up some of your data to other storage (strongly recommended to always do with all your personal data files), then search for and install SBopkg (for unofficial Slackware software, but started and, IIRC still run by some official Slackware team members) set it up, synchronize it with slackbuilds.org, then use SBopkg to install Bleachbit (in the 'system' category) which will delete many unnecessary files from your system.
|
How much have you actually installed? I would start by emptying out your home directory. You may have a bunch of junk accumulating in there.
Quite honestly, I wouldn't have chosen slack as a distro for a small hard drive. Don't get me wrong. I really like Slack. It is one of my favorite distrobutions. The problem is that many of the slack builds will not work unless you install nearly all of the packages. Doing so tends to load you up with a LOT of junk which you don't need. Perhaps one of the many Slack guru's around here can recommend a safe way to remove some of this bulk. |
Quote:
|
Compared to my distro (CentOS 6.4 GNOME Desktop), your /usr seems pretty fat.
Code:
15M /usr/include Anyway, one way to find any fat files could be by executing find command (which i also do often) Code:
# find / -type f -size +500M 2> /dev/null -exec ls -lh {} \; |
It seems you have performed a full Slackware install, as is recommended, am i right? Big /usr is perfectly normal in that setup, but 7.4 GB partition is really small.
Look up the categories Slackware installation consists of; you can delete stuff you don't use, but you should know (!!) what you're doing and what you're planning to do (for example K is fairly useless unless you don't plan to compile modules or customized kernel). This thread should be moved to Slackware subforum, so you can get proper advice. |
I did a similar installation a while back.
When you do a full installation of Slackware it automatically install KDE and all its applications as well as Xfce and all its applications, and the huge kernel with all the drivers available for Linux you also have the documentation in all languages supported by Slackware perhaps you could remove the documentation and leave it only the one on your native language. I end up re installing and selecting only Xfce and I also make a different partition just for my home directory so at the end it was like 7GB for my root directory and like 6 GB for my home partition and 1GB for swap. It worked fine after that. you could repartition your hard drive as an alternative to delete some stuff Good luck to you |
Have you considered simply upgrading your hard drive? You could get a 1TB drive for under $100, put a 100gb / partition (to use a ridiculously large hypothetical) and have 900gb free for other files...
You can probably scavenge an 80gb or 160gb for free out of a computer someone is throwing away... |
even a $5 80 gig IDE drive that was on a 2000 computer with XP will have enough space
( that is if you can use a ide drive ) i recently only spent $27 USD on a 32 gig usb3 thumb drive |
You could go into /usr/doc and do:
find . -t file -exec bzip2 -9 {} \; This will find every file and zip them, should save quite a bit... This will mean that some programs will not be able to open help files as they are zipped, but you could unzip them if neccesary. I have done this in the days of small disks and I have deleted /usr/doc on embedded systems... Regards Andre |
Deleting files is a temporary fix but the issue will arise again when it start running out of space again.
I would opt for a new hard drive either internal or external. Hard drives are cheap these days... |
All times are GMT -5. The time now is 10:44 PM. |