Remove distribution sets

Polytropon freebsd at
Mon Sep 15 10:09:59 UTC 2014

On Mon, 15 Sep 2014 16:07:30 +0800, Gregory Orange wrote:
> Can one remove distribution sets from FreeBSD 8.x?

The system doesn't provide a _dedicated_ means to do this.
Basically it's possible to manually remove (delete) things
when you _know_ what you are doing. Removing manpages is
such a possible task that probably won't hurt. Have a
usable source tree at hand, so you can "make install" if
you accidentally removed something important, that's why
don't remove "make". ;-)

The best way to tune an installation is at install time.
When installing from source, adjusting /etc/src.conf and
/etc/make.conf, and following the path described in the
comment header of /usr/src/Makefile, it's relatively easy,
especially see the "delete-old" and "delete-old-libs" steps.

It's also possible to "prepare" a stripped-down system
elsewhere and then use it to replace the installation in

A comparable way is provided via freebsd-update where parts
to be subject of an update can be selected using its configuration
file; see "man freebsd-update.conf" for the "Components"

Probably you won't save much disk space anyway...

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list