Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 16:30:39 -0800
From:      Chris Stankevitz <chrisstankevitz@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Do I want to switch to the new pkg(8) format?
Message-ID:  <CAPi0psv8V7=VZUJS4ND-d=gx4Rh16q8p3p-y2Naac0WCRzcT2w@mail.gmail.com>
In-Reply-To: <CAPi0psuei36LjMFT_B7DF3dWhTz=RK28r-kxKdyeNJx1YSapdg@mail.gmail.com>
References:  <CAPi0psuei36LjMFT_B7DF3dWhTz=RK28r-kxKdyeNJx1YSapdg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPi0psv8V7=VZUJS4ND-d=gx4Rh16q8p3p-y2Naac0WCRzcT2w>