This discussion is archived
1 Reply Latest reply: Nov 13, 2012 4:37 PM by 907092 RSS

Extract packages install

1502 Newbie
Currently Being Moderated
How can I extract the packages installed in to solaris 11.1 ? in a text file ?
  • 1. Re: Extract packages install
    907092 Newbie
    Currently Being Moderated
    By "extract packages" do you mean get the list of packages that are in Solaris 11? A file listing the contents of all installed packages?

    If you want the list of packages installed on a system, use "pkg list":

    pkg list > /var/tmp/pkg_list.txt

    If you want a list of every file, directory, etc. installed on a system, use "pkg contents":

    pkg contents > /var/tmp/pkg_contents.txt

    If you want to copy packages from one repository to another, use "pkgrecv".

    If you want to know the list of packages that will be installed, that's dependent on configuration, and what you specify on the command line or in an AI manifest.

    If you just want to know what packages are available in Solaris 11, you can simply look at the repository website here:

    http://pkg.oracle.com/solaris/release/en/index.shtml

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points