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

apt trick



This is for Mike808's benefit, but I figured the rest of you might be
interested.

If you have a machine with a small disk, and you don't care about
documentation (the stuff in /usr/share/doc as well as man pages), you
can exclude the documentation when the packages are installed with the
rpm command-line option "--excludedocs".  Of course, on an existing
box, this doesn't help much, since in order to get rid of the
documentation you would have to "upgrade" each package to the version
already installed with "--excludedocs" on the command-line.

I thought of something though...  If you use apt-get on Red Hat, you
can add the following to the "RPM" section of /etc/apt/apt.conf:

    Options {"--excludedocs";};

(You can probably just add that before the last "}" in the file.
That's probably the right section.)

That still doesn't help with existing packages, but as you upgrade
things, the documentation will magically disappear, and disk space
will magically reappear.  :-)

Anyway, it's just a thought...

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.