Question about packages installed via `pkg_add -r`

Clifton Royston cliftonr at lava.net
Sun Mar 6 18:09:02 UTC 2011


On Sun, Mar 06, 2011 at 03:06:28PM +0100, Greg Byshenk wrote:
> On Sun, Mar 06, 2011 at 10:09:17AM +0800, Yue Wu wrote:
> > ports with portmaster makes pkg installation mangement be much more
> > flexiable and more friendly than package by pkg_add -r on FreeBSD,
> > except that ports take much more time and resource. After trying with
> > packages, I think I have to stick to ports.
> 
> As suggested by some of the other comments, you can choose to use
> portmaster with packages, if you prefer not to do local builds.
> 
> In my own case, I use ports and packages, via portmaster. That is,
> I use one machine to build locally-configured packages (in some 
> cases with non-standard options), and then install them on the rest
> of the machines as packages. It works very well in my environment.

  I second this approach if you are managing more than one machine. 
Once I got this approach working, we used to do this when I was working
on a spam filtering solution, and also at my ISP.  It greatly
simplifies and reduces the time spent managing a multi-machine
environment; it works even better when you're handling steps like
deploying from a test environment into a production environment.  You
can even go a step further to define and create your own packages
containing sets of configuration files you want to deploy in
conjunction with the binaries.

  -- Clifton

-- 
    Clifton Royston  --  cliftonr at iandicomputing.com / cliftonr at lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services


More information about the freebsd-stable mailing list