Thứ Tư, 29 tháng 8, 2018

Cài đặt gói trong Solaris


Check
Check to see which of the required packages are already installed.
# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibm SUNWlibms SUNWsprot \
  SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt SUNWcsl
system      SUNWarc   Lint Libraries (usr)
system      SUNWbtool CCS tools bundled with SunOS
system      SUNWcsl   Core Solaris, (Shared Libs)
system      SUNWhea   SunOS Header Files
system      SUNWi1of  ISO-8859-1 (Latin-1) Optional Fonts
system      SUNWlibC  Sun Workshop Compilers Bundled libC
system      SUNWlibm  Math & Microtasking Library Headers & Lint Files (Usr)
system      SUNWlibms Math & Microtasking Libraries (Usr)
system      SUNWsprot Solaris Bundled tools
system      SUNWtoo   Programming Tools
system      SUNWxwfnt X Window System platform required fonts
ERROR: information for "SUNWi1cs" was not found
ERROR: information for "SUNWi15cs" was not found
#
From <https://oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-solaris-10>

# pkginfo -x <package>

# pkginfo |grep pkgutil


# pkgchk -l <package_name>
# pkgchk -l <package_name> | grep Pathname  # lists files only.
# pkgchk -d <name> -l
Cài đặt gói
Add the "SUNWi1cs" and "SUNWi15cs" packages using the "pkgadd" command.
# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs SUNWi15cs

#pkgadd -d  /cdrom/solaris10/SFWsnort
Xóa gói
# pkgrm SFWsnort

ĐỌC NHIỀU

Trần Văn Bình - Oracle Database Master