Do I want to switch to the new pkg(8) format?
Chris Stankevitz
chrisstankevitz at gmail.com
Sat Dec 27 00:30:42 UTC 2014
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
More information about the freebsd-questions
mailing list