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

Re: Installing packages without manpages and docs



Marc Haber wrote:
> 
> Is there any way to make apt-get stop installing packages' man pages
> and documentation?

It may not what exactly you need, and not sure it may help
or not, but I usually do like the below in case if I don't
need doc section packages at all.

  # apt-get remove doc/*
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Note, selecting glibc-doc instead of libc-doc
  Note, selecting libpam-doc instead of pam-doc
  Note, selecting docbook-to-man instead of docbook-to-man-ans
  Note, selecting docbook-xml instead of docbk-xml
  Note, selecting xcoral instead of xcoral-doc
  Note, selecting nntpcache-dev-doc instead of nntpcache-doc
  The following packages will be REMOVED:
    apache-doc binutils-doc cvs-doc doc-base doc-debian doc-linux-html
    doc-linux-ja doc-linux-text docbook docbook-stylesheets dpkg-doc gcc-doc
    gettext-doc glibc-doc gnome-faq gtk-doc-tools libapache-mod-ssl-doc
    libgtk1.2-doc libpam-doc lprng-doc make-doc mgetty-docs perl-5.005-doc
    php3-doc samba-doc zsh-doc 
  0 packages upgraded, 0 newly installed, 26 to remove and 0 not upgraded.
  Need to get 0B of archives. After unpacking 74.3MB will be freed.
  Do you want to continue? [Y/n] Y

Just for your info and convenience hopefully.

regards,
-- 
Shigekazu Noka <noka@md.neweb.ne.jp>



Reply to: