How To Use Opencsw

1. Download and install your package utility of choice.

# wget http://mirror.opencsw.org/testing/pkgutil-1.1,REV=2008.10.24-SunOS5.8-all-CSW.pkg.gz
# gunzip pkgutil-1.1,REV=2008.10.24-SunOS5.8-all-CSW.pkg.gz
# pkgadd -d pkgutil-1.1,REV=2008.10.24-SunOS5.8-all-CSW.pkg

or
(if you have solaris 10)

# pkgadd -d http://www.opencsw.org/pkg_get

or

# wget http://www.opencsw.org/pkg_get.pkg
# pkgadd -d pkg_get.pkg

2. Add /opt/csw/bin to root's PATH.

3. Set up wget to use your proxy if needed ( edit /etc/wgetrc or ~/.wgetrc ).

You're now ready to install packages with all dependencies real easy:

# pkgutil -i bash

or

# pkg-get -i bash
Page tags: pkg-get pkgutil
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License