Fwd: package vs ports question

Donald J. O'Neill donaldjoneill at gmail.com
Mon Mar 27 16:03:03 UTC 2006


On Monday 27 March 2006 09:49, RW wrote:
> On Monday 27 March 2006 14:20, Norberto Meijome wrote:
> > make package will actually make the package and install it for you,
> > you dont need to do a pkg_add after that (yes, a bit
> > counter-intuitive, but really handy)
>
> Make package creates a package out of an installed port (it will
> install the port first, if neccessary). It doesn't install the
> package - there would be no point.
> _______________________________________________

'make install' builds a package from the port and installs it. 'make 
package' builds a package and installs it, it also saves it in 
compressed form so it can be reinstalled if necessary. 

A port is a skeleton, it contains the information needed to build a 
package and that's it. The ports aren't installed, it's the package 
that results from building a port that is installed. Ports are only 
skeletons, the contain the information necessary to allow the port to 
be built into an installable package. 

Don


More information about the freebsd-questions mailing list