[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apt trick
Adding the --excludedocs option gets in the way of "apt-get remove".
On Sun, 23 Jun 2002, Steven Pritchard wrote:
> 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
>
--
---------------------------------------------------------------------
Erich Schroeder Phone: (217)785-0033
Curator, Information Technologies FAX: (217)785-2857
Illinois State Museum GIS Lab email:erich(at)illinois.state.museum
http://illinois.state.museum/
---------------------------------------------------------------------
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.
- References:
- apt trick
- From: Steven Pritchard <steve@silug.org>