IPS (Image Packaging system) in Solaris 10
Centralized package delivery is always considered to be a great feature of any OS.
For Centralized Package Management Sun have a nice solution in OpenSolaris in the form of
Image Packaging System (IPS), still this is not ready yet available for Standard Solaris and
also SUN has stopped supporting the further development of Open Solaris.
In Case of Standard Solaris IPS is truly & purely a feature of Oracle Solaris 11.
In Oracle Solaris 10 we can use some tools to get this functionality but in case of production
it is somewhat questionable.
In Solaris package installation has has always been a daunting task but now there are some solution giving IPS functionality which are
1.OpenCSW.
2.Blastwave
Both the the above mentioned camps are delivering the same packages to the same disk hierarchy, I am going to mention the procedure to use both of these.
Using OpenCSW
To get IPS functionality using OpenCSW in Oracle Solaris 10 follow the below steps.
To download the package
Unzip the above downloaded package as
-bash-3.00# gunzip pkgutil-2.4\,REV\=2011.05.15-SunOS5.8-i386-CSW.pkg.gz
Now install the above package using
-bash-3.00# pkgadd -d pkgutil-2.4\,REV\=2011.05.15-SunOS5.8-i386-CSW.pkg
After installation fetch the latest catalog as
-bash-3.00# pkgutil --catalog
Now install any package with all dependencies as show below
-bash-3.00# pkgutil -i vim
Solving needed dependencies ...
Solving dependency order ...
Install 8 NEW packages:
CSWggettext-data-0.18.1.1,p,REV=2011.03.15 (opencsw/unstable)
CSWggettextrt-0.18.1.1,p,REV=2011.03.15 (opencsw/unstable)
CSWlibasprintf0-0.18.1.1,p,REV=2011.03.15 (opencsw/unstable)
CSWlibgettextpo0-0.18.1.1,p,REV=2011.03.15 (opencsw/unstable)
CSWlibintl2-0.18.1.1,p,REV=2011.02.12 (opencsw/unstable)
CSWlibintl3-0.18.1.1,p,REV=2011.02.12 (opencsw/unstable)
CSWlibintl8-0.18.1.1,p,REV=2011.03.15 (opencsw/unstable)
CSWterminfo-5.7,REV=2010.05.21 (opencsw/unstable)
Install 4 UPDATED packages
CSWiconv-1.13.1,REV=2009.07.31 (opencsw/unstable)
CSWncurses-5.7,REV=2010.05.21 (opencsw/unstable)
CSWvim-7.3.055,REV=2010.11.25 (opencsw/unstable)
CSWvimrt-7.3.055,REV=2010.11.25 (opencsw/unstable)
1 CURRENT packages:
CSWcommon-1.5,REV=2010.12.11
Total size: 13.6 MB
12 packages to fetch. Do you want to continue? ([y],n,auto)
Using BlastWave
To get IPS functionality using Blastwave in Oracle Solaris 10 follow the below steps.
Goto http://www.blastwave.org/jir/blastwave.fam and download from the below link
INTEL users : http://download.blastwave.org/csw/pkgutil_i386.pkg
After downloading install the package as
-bash-3.00# pkgadd -d pkgutil_i386.pkg
After installation fetch the latest catalog as
-bash-3.00# pkgutil --catalog
Now install any package with all dependencies as show below
-bash-3.00# pkgutil -i vsftpd
Parsing catalog, may take a while...
New packages: CSWtcpwrap-7.6_ipv6.4,REV=2010.01.12 CSWvsftpd-2.0.6,REV=2008.02.16
Current packages: CSWcommon-1.8.0,REV=2010.05.01 CSWisaexec-11.11,REV=2009.12.27 CSWosslrt-0.9.8p,REV=2010.11.17
Total size: 224.1 KB
2 packages to fetch. Do you want to continue? [Y,n]
Alhamdolillah Done.
Now you can install most of the packages used in Solaris with a peace of mind.
Comments
Post a Comment