From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:30:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B9D2351 for ; Sat, 27 Dec 2014 00:30:42 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A253A679B8 for ; Sat, 27 Dec 2014 00:30:41 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so17916494wiw.13 for ; Fri, 26 Dec 2014 16:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A7lhpuUeJtSDgfT94OZa2rWPFpq680TQrFwJhZLGf1Q=; b=M3CfJSWwOUT5S8/uQw/tOvhlz+6qAW7rjs7cttAfTz/bUzBY7k04EWhIwECYly1ok5 XZMan41G1PvTfYojWrPHQppJbD4otPo/D5nB7K7X0ITGEgmQa0OsiEJoIQFPLFQxFMMU zepb8QdWrxpyrpd6Pur6eFi1aUAZEgmMIvIOws115Mnr2fACRjTY0G6VXvoovkWjx/9h b4AUTBVP7EKWTFzp803dqQBGvFFCNX8l9a6Tbdw9uSRnK1/VBNy2Fyu1KQZm2DIlzXZ1 l9lfKPgS2a9iwBcgoeV5pCfdEqTCmMj2gkIn8dGU4InoTUl1XrfwjQBwXiOLFY55P+0N qQaA== MIME-Version: 1.0 X-Received: by 10.180.228.108 with SMTP id sh12mr49893551wic.55.1419640240014; Fri, 26 Dec 2014 16:30:40 -0800 (PST) Received: by 10.217.157.195 with HTTP; Fri, 26 Dec 2014 16:30:39 -0800 (PST) In-Reply-To: References: Date: Fri, 26 Dec 2014 16:30:39 -0800 Message-ID: Subject: Re: Do I want to switch to the new pkg(8) format? From: Chris Stankevitz To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 00:30:42 -0000 Thank you all for your help. A summary: 1. Packages can be installed from "source ports" or "binary packages". -- actually I knew that all along but thank you to you all for remind me so many times. 2. To install a binary package use "pkg" 3. To install a "source port" use "make" 4. To uninstall a "binary package" use "pkg" 5. To uninstall a "source port", use "pkg" or use "make deinstall" 6. To upgrade your "source ports" use "portsnap fetch install" and "portmaster". 7. To upgrade your "binary packages" use ???? (don't really care... but just adding it to be complete) 8. To remove unneeded "source ports", use "portmaster -l" or "pkg auto remove" (even though this is described in section 5.4 of the handbook "Using pkg for Binary Package Management"). Do not use pkg_cutleaves. 9. Do not use cvs or pkg_ or pkgng 10. If you are ever asked "to switch to the new pkg(8) format" say YES, even if you are using source ports. 11. If you are feeling frisky, upgrade your source ports with portupgrade instead of portmaster And summarized even further: - When you want to install a binary package, use pkg - When you want to list or remove installed software, whether it was installed via source or binary packages use pkg - When you want to install or upgrade using source use (portsnap AND make AND (postmaster OR portupgrade)). === Thank you again, Chris