[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package dependencies



On Fri, Sep 26, 2003 at 06:47:03PM -0600, Breen Ouellette wrote:
> Hi,
> 
>     If I want to install a package, and there are dependecies, is
> there a quicker way to get them than to do it manually?
> 

Doh, nm, i read too quickly, its still there. 

>From www.openbsd.org/ports.html

Adding a package is as easy as pkg_add pkgname.tgz. If you are grabbing
packages from a single source (a package repository), set PKG_PATH to
that repository URL, in order to grab dependencies.

For instance, to install the Gimp package for the 3.2 release on an i386
machine off the ftp site (including dependencies), do:

    # setenv PKG_PATH
    # ftp://ftp.openbsd.org/pub/OpenBSD/3.2/packages/i386/
        # pkg_add ${PKG_PATH}gimp-1.2.3.tgz

> Thanks,
> -Breen