[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: minimal installation questions



> 1024x768, it seems to be fast enough). Even doing just this seems to take
> up about 235 MB according to df -h. I'm guessing there's far more installed
> than I really need.
>
> Thanks in advance for any help with this matter.

In spite of the rant you just got about how ultra-minimal the basic net 
install install is, it's probably not ultra-minimal enough.

I've got a box that's just the net install plus X plus enough other bits to 
run JACK and qjackctl (QT program) and it weighs in at 450 MB.

If I were trying to get it down, I'd start trying to get rid of these packages 
I've weeded out here.  Some of them will be dependencied up to the point 
where they can't easily be removed, suredly, but this is where I would start.  
(Your mileage will vary slightly, obviously.)

You probably don't care about getting mail from the kernel on this box, so you 
don't need an MTA (if you can get by without one; I'm not quite sure) so you 
coudl get rid of exim4.  You can probably live without power management 
stuff, so dump acpid.  You don't need sound (right?) so you don't need ALSA 
or the ALSA kernel modules (for 2.4 kernels) or any of the ogg vorbis, MP3, 
audio codec whatnots.  You damn sure don't need a compiler (*).  You don't 
need CD ripping/burning/ejecting stuff, so you can scrap cdparanoia, eject, 
cdrecord and friends.  If you configure the hardware by hand, you don't need 
hotplug (unless you have USB stuff on the box) or discover (boot time 
hardware detector/configurator).  You don't need both mawk and gawk, both 
nano and vim, both lilo and grub.  Pick one.  You don't need more than one 
kernel.  You don't need PCMCIA stuff, or modules.  If you're not on dialup or 
DSL, you can dump all the ppp* garbage completely.  You can probably get rid 
of the locales pacakge, since you only need C.  You won't much care about the 
logs, and might even keep them on a volatile disk, so get rid of logrotate.  
You don't need tasksel of dselect unless their removal would fundamentally 
break apt.  You don't need to run xfs.

That might get you there.  I'm not actually going to remove all that stuff 
from my box, but that's about what's on it that I would dump if I were 
looking to squeeze it waaay down.

(*) Maybe I don't have a compiler after all.  There's a gcc-3.3-base package 
that's deeeeeeply entrenched:

box2:~# apt-get remove gcc-3.3-base
[snippy]
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'

Whee.  I guess I need that, huh?  (Wants to take down apt, initscripts, and 
the kitchen sink, but it would save me 158 MB to get rid of all that 
stuff.  :)

-- 
Michael McIntyre  ----   Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/



Reply to: