Date: Fri, 10 Aug 2007 14:39:39 +0200 From: Ruben de Groot <mail25@bzerk.org> To: Christopher Key <cjk32@cam.ac.uk> Cc: questions@freebsd.org Subject: Re: Remove ports dependencies Message-ID: <20070810123939.GA84642@ei.bzerk.org> In-Reply-To: <46BC51C3.1020103@cam.ac.uk> References: <46BC51C3.1020103@cam.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 10, 2007 at 12:53:39PM +0100, Christopher Key typed: > Hello, > > I recently tried to install vim from the ports collections, however I > didn't do it with 'WITHOUT_X11', and accordingly it went off and > installed X + presumably a whole load of dependencies which I really > don't want. Is there any way to get a list of exactly what it added so > that I can go and remove it cleanly? the command "pkg_deinstall -nR vim" (this command is port of the portupgrade package) will give you a list of all packages vim depends on. Removing the 'n' switch will actually upward-recursively deinstall these packages, excluding the ones that are needed by other packages. Then rebuild vim WITHOUT_X11 ;) cheers, Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070810123939.GA84642>