본문 바로가기

Work/Solaris

solaris pkgadd, pkgrm

1. 패키지 설치하지

 #pkgadd -d 설치할 package 이름



2. 패키지 삭제하기

 #pkgrm 삭제할 package 이름



3. 패키지 정보보기

 #pkginfo -l package_name

 

[sol9:/]pkginfo | grep tcp

application SMCtcpdwr                        tcp_wrappers

system      SUNWtcpd                         tcpd - access control facility for internet services


[sol9:/]pkginfo -l SMCtcpdwr

   PKGINST:  SMCtcpdwr

      NAME:  tcp_wrappers

  CATEGORY:  application

      ARCH:  sparc

   VERSION:  7.6

   BASEDIR:  /usr/local

    VENDOR:  Wietse Venema

    PSTAMP:  Steve Christensen

  INSTDATE:  3¿ù 01 2015 12:24

     EMAIL:  steve@smc.vnet.net

    STATUS:  completely installed

     FILES:       30 installed pathnames

                   4 shared pathnames

                   9 directories

                   5 executables

                 702 blocks used (approx)