LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2006, 06:27 AM   #1
Camino
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
Need to delete a crapload of files


Hi guys,

I have a full installation of Slackware 10.1, and now my harddrive is also full.

Basically I want to know if there is a bunch of files that I can delete right away.
For example if I possibly have the sources for every installed program lying around (that came with the distro), or archives that I can find on the cds.. Those could all go away.

I'm using this installation for development, and there's a lot of data I need space for.
Hopefully there is a quick way of getting a few hundred megs back quickly, not looking for removing a hundred 4mb apps

[EDIT]
I saw KPackage after seeing an uninstall-thread. I'll do some cleaning there, hopefully there are some other big things to do.

Thank you,
Camino

Last edited by Camino; 02-23-2006 at 06:32 AM.
 
Old 02-23-2006, 06:32 AM   #2
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
Check the packages installed from the Package Manager and unistall those you don't need.
 
Old 02-23-2006, 07:21 AM   #3
Bjerrk
Member
 
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 20
The "full install" option is actually a somewhat ridiculous one. Noone wants both all of emacs, vim, joe and jed at the same time.
 
Old 02-23-2006, 07:29 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
If the /temp directory isn't in it's own partition, that's an easy place to clean out. Also, you may have a large number of old logs in /var/logs. The one's ending in .gz.
 
Old 02-23-2006, 07:35 AM   #5
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Quote:
I saw KPackage after seeing an uninstall-thread. I'll do some cleaning there, hopefully there are some other big things to do.
Make sure you don't uninstall applications needed by KDE itself.

You have the ability of ruining your system, when having root privileges, remember?
 
Old 02-23-2006, 07:36 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
check the size of your syslog and other log files.

slackware package managers (swaret, slackpkg) tend to cache loads of stuff. i believe you can purge these removed packages.
 
Old 02-23-2006, 08:23 AM   #7
Bjerrk
Member
 
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 20
Also, check /usr/src and look if there's something in there that you don't need.
 
Old 02-23-2006, 11:37 AM   #8
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Full install -- quite a bit there you won't need (as in the aforementioned text editors, outdated versions of FireFox, Thunderbird, and Mozilla, every WM (IceWM, Fluxbox, Blackbox, Gnome, et cetera), and much much more)!

I believe I've only done a 'full' install once, after then it was always custom
 
Old 02-23-2006, 01:32 PM   #9
Camino
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks guys, I think I have enough space now
 
Old 02-24-2006, 10:45 PM   #10
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Quote:
Thanks guys, I think I have enough space now
Please tell us how.
Have a habit of sharing stuff when you feel like closing a topic.
It may help others too, having the same problem.
 
Old 02-25-2006, 03:55 AM   #11
Camino
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
I'm sorry Duffy,

it's obvious that I should do this. Allthough in this case I thought it was too trivial to make a difference (when following the advice of those who posted).
Anyway, I removed a bunch of packages as well as deleted logfiles (they were horribly big!).


regards,
Camino
 
Old 02-25-2006, 07:45 AM   #12
Bjerrk
Member
 
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 20
pkgtool is your friend in this case.
 
Old 02-25-2006, 03:52 PM   #13
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
useful note from UPGRADE.TXT
Quote:
9. Remove KDE language bloat. By upgrading all packages using
--install-new you've probably installed all of the KDE language
translations from the KDEI series, which will use up about
500MB. If you need only US English, you may remove the KDE
language packs like this:

cd /var/log/packages
removepkg kde-i18n* koffice-i18n*

Even if you need one of these, it might be best to start by
removing them all, and then go back and install the ones you
need with installpkg.
 
Old 02-25-2006, 05:23 PM   #14
Michael Iatrou
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Camino
Anyway, I removed a bunch of packages as well as deleted logfiles (they were horribly big!).
If your logfiles are huge, then you are probably missing `logrotate' ;-)
 
Old 02-25-2006, 07:31 PM   #15
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,077

Rep: Reputation: 205Reputation: 205Reputation: 205
You can safly remove all the desktop managers your not using
and the mutilmedia packages that don't worl as a fact of this matter
you can replace all of the mutilmedia that came with the distro with mplayer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete files that won't delete? di11rod Linux - Security 7 10-19-2005 09:14 PM
delete files suguname Linux - Newbie 3 07-05-2005 08:49 AM
how can I do to delete these files? tuzhiyong Linux - Software 2 12-02-2004 11:01 AM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 01:13 PM
Can't delete some files... Tomcat_cdm Linux - Newbie 2 03-11-2003 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration