In Linux, RPM can automatically install the dependent software packages. The solaris system has a small audience. Many people do not know that there are tools for automatically installing the dependent software packages under solaris.
The installation steps are as follows:
1. Download and install pkgutil from the http://mirror.opencsw.org/opencsw/pkgutil.pkg
Pkgadd-d pkgutil. pkg all
2. Add/opt/csw/bin to the path directory.
/Opt/csw/bin/pkgutil
3. Install vim and the dependent packages automatically.
Pkgutil-y-I vim
-Y, -- yes Answer yes on all prompts
-I, -- install Install package
-A, -- available Show available packages
4. query the installation package in the repository
Bash-3.2 # pkgutil-a subversion
Common package catalog size
Ap2_subversion CSWap2svn 1.7.2, REV = 2012.01.02 83.5 KB
Pm_subversion CSWpmsvn 1.7.2, REV = 2012.01.02 2.0 MB
Subversion CSWsvn 1.7.2, REV = 2012.01.02 1.9 MB
Subversion_contrib CSWsvn-contrib 1.7.2, REV = 2012.01.02 5.8 KB
Subversion_devel CSWsvn-devel 1.7.2, REV = 2012.01.02 5.9 KB
Subversion_tools CSWsvn-tools 1.7.2, REV = 2012.01.02 5.8 KB
Recommended reading:
Chinese EUC cannot be used after Solaris 11 (x86) is installed
Use VNC-Xvnc in Solaris 10/11 (x86)
Oralce Solaris 11 source code installation Qt 4.8.3
Install Zabbix Agent on Solaris 11