3流プログラマのメモ書き

元開発職→社内SE→派遣で営業支援の三流プログラマのIT技術メモ書き。 このメモが忘れっぽい自分とググってきた技術者の役に立ってくれれば幸いです。(jehupc.exblog.jpから移転中)

(Solaris)インストールしているパッケージの一覧や詳細を確認する方法

Solarisでは pkginfo コマンドでパッケージの管理ができるようです。

システムにインストールされているパッケージを一覧表示するには、単にpkginfoコマンドを叩きます。

# pkginfo | grep "Sun Ray Core"

system SUNWlibusbut Sun Ray Core Services support for libusb API (opt)

system SUNWuta Sun Ray Core Services Administration Software (opt)

system SUNWutesa Sun Ray Core Services module for SunMC agent (opt)

system SUNWutesc Sun Ray Core Services module for SunMC (opt)

system SUNWutfw Sun Ray Core Services Firmware Files (opt)

system SUNWutgsm Sun Ray Core Services AMGH (opt)

system SUNWutk Sun Ray Core Services Drivers (usr)

system SUNWutm Sun Ray Core Services Man Pages (opt)

system SUNWuto Sun Ray Core Services Core Software (opt)

system SUNWutps Sun Ray Core Services Auth Manager PAM Module (opt)

system SUNWutr Sun Ray Core Services Configuration (root)

system SUNWutref Sun Ray Core Services Reference Software (opt)

system SUNWutscr Sun Ray Core Services Smartcard Reader Driver components (opt)

system SUNWutstk Sun Ray Core Services mass storage drivers (usr)

system SUNWutsto Sun Ray Core Services mass storage software (opt)

system SUNWutstr Sun Ray Core Services mass storage configuration (root)

system SUNWutu Sun Ray Core Services Configuration (usr)

パッケージの詳細を見るには -l オプションを付けます。

# pkginfo -l SUNWuto

PKGINST: SUNWuto

NAME: Sun Ray Core Services Core Software (opt)

CATEGORY: system,sunray

ARCH: i386

VERSION: 4.0_48,REV=2007.08.01.15.08

BASEDIR: /opt

VENDOR: Sun Microsystems, Inc.

DESC: core services and resources, management and user commands

PSTAMP: SunOS_5.10_20070801154126

INSTDATE: 10月 16 2012 17:43

HOTLINE: Please contact your local service provider

STATUS: 完全にインストールされました。

FILES: 160 のインストールされたパス名

10 の共有パス名

25 のディレクト

116 の実行可能ファイル

2 の setuid/setgid 実行可能ファイル

15885 ブロック (概算値) が使われました