Showing posts with label Package management. Show all posts
Showing posts with label Package management. Show all posts

Wednesday, July 9, 2008

Package Management

PKGADD
1. To install new package (pkgadd -d Source location)

# pkgadd -d /cdrom/sol_7_x86/s2/Solaris2.7/Product/ SUNWbnur

2. To install package from current Dir
#pkgadd –d . SUNWbnwr

3. Copy package to spool dir without installation
#pkgadd –d Source location –s spool pkg name
Spool dir => /var/spool/pkg

4. If Packages are already in spool dir no need to give –d option
#pkgadd SUNWbnwr

PKGCHK
5. Shows details about particular pkg
#Pkgchk –V SUNWbnwr

6.Shows details about particular pkg
#Pkgchk –P SUNWbnwr
It shows pkg permission ,modified details etc

PKGINFO
It shows info about all installed packages.
7.Shows details about particular pkg
#pkginfo –l SUNWbnwr

PKGRM
8. To remove a package
#pkgrm

9. Remove pkg from spool directory
#pkgrm –s spool

you can download sun packages on http://www.sunfreeware.com/