[[pahes_it:ah:sma20111]]
====== Setup OpenCSW on Solaris 10 and Solaris 11 ======
=== Install pkgadd utility ===
For SPARC systems :
pkgadd -d http://opencsw.ma.eurocopter.corp/opencsw/pkgutil-sparc.pkg
Or for x86 systems :
pkgadd -d http://opencsw.ma.eurocopter.corp/opencsw/pkgutil-i386.pkg
=== Configure the local mirror ===
Uncomment the file **''/etc/opt/csw/pkgutil.conf''** accordingly to connect to the local mirror :
mirror=http://opencsw.ma.eurocopter.corp/opencsw/stable
=== Update the local package list ===
/opt/csw/bin/pkgutil -U
=== Then enjoy ===
Now you can install any OpenCSW package. For example, to install **vim** :
/opt/csw/bin/pkgutil -a vim
/opt/csw/bin/pkgutil -y -i vim
/opt/csw/bin/vim