pkginfo

Print PDF

Sometimes you run into situations to try and understand where the files for your package that you just installed on your Sun Solaris Server. While this is no big deal for geeks lets help “not so geeks” with a way to find the files and path of installed package.

 Here, on Sun Solaris 10, I know I’ve installed wget package and don’t have a clue where the files have gone into. Let’s start with finding the package name.

solaris10#  pkginfo -l | grep wget

   PKGINST:  SUNWwgetr
      NAME:  GNU wget – utility to retrieve files from the World Wide Web (root)
      DESC:  GNU wget – a utility to retrieve files from the World Wide Web (root components) 1.9.1
   PKGINST:  SUNWwgetu
      NAME:  wget – GNU wget
      DESC:  GNU wget – a utility to retrieve files from the World Wide Web (Usr) 1.9.1

Now, that will help you fi

nd the package name. Here SUNWwgetu

# pkginfo -l SUNWwgetu

   PKGINST:  SUNWwgetu
      NAME:  wget – GNU wget
  CATEGORY:  system
      ARCH:  i386
   VERSION:  11.10.0,REV=2005.01.08.01.09
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  GNU wget – a utility to retrieve files from the World Wide Web (Usr) 1.9.1
    PSTAMP:  sfw10-x20050108014615
  INSTDATE:  Mar 20 2007 14:38
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:        4 installed pathnames
                   3 shared pathnames
                   3 directories
                   1 executables
                 338 blocks used (approx)