From owner-freebsd-newbies Thu Sep 27 16: 3: 9 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from hollowman.mweb.co.za (hollowman.mweb.co.za [196.2.46.15]) by hub.freebsd.org (Postfix) with ESMTP id D3E5937B403 for ; Thu, 27 Sep 2001 16:03:04 -0700 (PDT) Received: from siberiyan.dyndns.org ([196.30.182.52]) by hollowman.mweb.co.za (iPlanet Messaging Server 5.1 (built Sep 18 2001)) with SMTP id <0GKC00G5UG0WE0@hollowman.mweb.co.za> for freebsd-newbies@FreeBSD.ORG; Fri, 28 Sep 2001 01:02:57 +0200 (SAST) Received: by siberiyan.dyndns.org (sSMTP sendmail emulation); Fri, 28 Sep 2001 01:03:26 +0200 Date: Fri, 28 Sep 2001 01:03:26 +0200 From: Piet Delport Subject: Re: ports list/deinstall In-reply-to: <1011682128.20010927204917@e-box.dk> To: =?iso-8859-1?Q?S=F8ren?= Neigaard Cc: freebsd-newbies@FreeBSD.ORG Mail-Followup-To: =?iso-8859-1?Q?S=F8ren?= Neigaard , freebsd-newbies@FreeBSD.ORG Message-id: <20010928010320.A444@athalon.homenet> MIME-version: 1.0 Content-type: multipart/signed; boundary=kfjH4zxOES6UT95V; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.4-STABLE X-Editor: VIM - Vi IMproved 6.0ax BETA (http://www.vim.org/) X-Crypto: gpg (GnuPG) 1.0.6 (http://www.gnupg.org/) X-GPG-Key-ID: 0x6B191427 X-GPG-Fingerprint: C7FF A540 2199 F7BF 1933 5640 CD15 0FF3 6B19 1427 References: <1011682128.20010927204917@e-box.dk> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --kfjH4zxOES6UT95V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 27 Sep 2001 at 20:49:17 +0200, S=F8ren Neigaard wrote: > I have just installed the jdk122 port, and it installed a LOT of other > things... Can I somehow get a list of all that are installed on my > system, en easily deinstall ports? pkg_info(1) is good for this. For deinstalling, `make deinstall' is the standard way, and usually works well. If you use ports a lot though, i recommend installing the sysutils/portupgrade port. It's very useful collection of utilities for manipulating packages and the ports collection. Most notably, if you cvsup your ports collection regularly, it lets you upgrade a port with one command, instead of the usual pkg_delete/make install combo, which sometimes messes up dependency information IME. Another reason to get it is `portversion -L=3D', which lists all installed packages whose version numbers don't correspond to their ports collection equivalents. Quick way to get a list of names to feed portupgrade(1), and keep you on the bleeding edge. :-) > What happens if I deinstall something that something else depends on, > is this deinstalled too then? I'm not sure how `make deinstall' handles this, but portupgrade includes a tool called pkg_deinstall, which offers you the option of deinstalling a package including everything that depends on it. --=20 Piet Delport Today's subliminal thought is: --kfjH4zxOES6UT95V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE7s7A+zRUP82sZFCcRAkEAAJ9516ysxgvvgbM97K/FaGEfdHkPYwCgpjBY 2+8NB6jCLI2C2WXubAh49zw= =ANIo -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message