Thứ Ba, 1 tháng 12, 2020

Quản lý 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

 

root@sol01 # pkgchk -l -p /usr/bin/ls

Pathname: /usr/bin/ls

Type: regular file

Expected mode: 0555

Expected owner: root

Expected group: bin

Expected file size (bytes): 27380

Expected sum(1) of contents: 32893

Expected last modification: Mar 25 06:17:56 2010

Referenced by the following packages:

     SUNWcsu   

Current status: installed

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


KẾT NỐI VỚI CHUYÊN GIA TRẦN VĂN BÌNH: 📧 Mail: binhoracle@gmail.com ☎️ Mobile: 0902912888 ⚡️ Skype: tranbinh48ca 👨 Facebook: https://www.facebook.com/BinhOracleMaster 👨 Inbox Messenger: https://m.me/101036604657441 (profile) 👨 Fanpage: https://www.facebook.com/tranvanbinh.vn 👨 Inbox Fanpage: https://m.me/tranvanbinh.vn 👨👩 Group FB: https://www.facebook.com/groups/OracleDBAVietNam 👨 Website: http://www.tranvanbinh.vn 👨 Blogger: https://tranvanbinhmaster.blogspot.com 🎬 Youtube: http://bit.ly/ytb_binhoraclemaster 👨 Tiktok: https://www.tiktok.com/@binhoraclemaster?lang=vi 👨 Linkin: https://www.linkedin.com/in/binhoracle 👨 Twitter: https://twitter.com/binhoracle 👨 Địa chỉ: Tòa nhà Sun Square - 21 Lê Đức Thọ - Phường Mỹ Đình 1 - Quận Nam Từ Liêm - TP.Hà Nội #OracleTutorial #OracleDBA #OracleDatabaseAdministration #học oracle database #oca #ocp #oce #ocm

ĐỌC NHIỀU

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