Originally Posted by Superdude_123
|
|
Why does everything I read talk about using port jail? What's the difference between that and a system wide install?
|
When possible you should use PBI's. When you can’t find a PBI for the software you looking for you should use the Ports Jail. The ports jail is a virtual environment where everything occurs inside the jail and does not affect the rest of the operating system. This separates third party software from the base OS protecting the base OS files form third party software.
The Ports Jail is a security and stability measure for managing third party software. You can use any software installed in the Ports Jail the same way as you would normally.
So in PCBSD you have three types of methods to install software. I think it is one of the only OS's that allow for such a versatile system for managing software.
- PBI = All in one static binding of libraries, packages will never break other software and libraries, and should work after base OS upgrades
- Packages = IE "pgk_add -r package-name", this is very similar to things like Debian’s APT where dependencies are resolved and generic binary packages are installed
- Ports Source install = IE "make install" exactly the same as pkg_add when it comes to dependencies, the only difference is that all packages are compiled on your machine first. All generic binary packages used by pkg_add -r are built from ports
See previous link about the Ports Jail. See other docs on FreeBSD packages and ports below.
Chapter 5 Installing Applications: Packages and Ports
http://www.freebsd.org/doc/en_US.ISO...ook/ports.html
5.4 Using the Packages System
http://www.freebsd.org/doc/en_US.ISO...ges-using.html
5.5 Using the Ports Collection
http://www.freebsd.org/doc/en_US.ISO...rts-using.html