Monday, September 12, 2011

Package Management in Sun (Oracle) Solaris 10


Shell based Package management:

pkginfo|add|rm|chk

pkginfo - information of package
pkgadd - to install package
pkgrm - to remove package
pkgchk - to check package

pkginfo::

pkginfo - all installed packages

pkginfo -l |less

pkginfo -l SFWblue

pkginfo -x |grep - i emacs

To search installed specific packages

pkginfo -i |grep -i emacs

pkgchk ::

pkgchk -v SFWblue  -lists files included in package

pkgchk -lp /opt/sfw/bin/bluefish
  - which a packge this file belongs to?


pkgadd:::

To download free packages:
www.sunfreeware.com
www.blastwave.org/mirrors.php


pkgadd -d  tO install packgages


Spool directory: /var/spool/pkg


Download one package from www.sunfreeware.com

or use DVD


Right click on packge and "Copy link location"
using nano

wget <control+v>


Downloaded packages
:


pkgadd -d nano-1.2.4.*

No comments:

Post a Comment