How to remove X11 support and all ports options depend on X11

Matthew Seaman matthew at FreeBSD.org
Mon Apr 7 05:59:35 UTC 2014


On 07/04/2014 03:14, Yushu Gao wrote:
> I am new to FreeBSD, I have used Gentoo before. I want to remove the X11
> support and all ports options depend on it, I know how to remove X11
> support, but I cannot find out how to remove all ports options depand on
> it. Can someone kindly tell me the method ?

Assuming you're using pkg(8) rather than the old pkg_tools, then delete
X11 packages and everything that depends on them.  eg:

   # pkg delete -R libX11

(you'll need to repeat that for various other X11 components)

Then remove anything that was only installed as a dependency of the X11
ports:

   # pkg autoremove

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140407/e0ade8eb/attachment.sig>


More information about the freebsd-stable mailing list