Understanding Sun Solaris[tm] packages/metaclusters/clusters

When starting any project, the first questions is "where to begin?"  With Sun Solaris[tm] Custom Jumpstarts, that starts with Package Clusters, Package MetaClusters, and Individual Packages.

The Solaris Package Companion provides a great way to investigate the Sun Solaris[tm] package dependencies.  Packages can be grouped together into MetaClusters.  Packages and MetaClusters can be grouped together into Clusters.

Starting at the top of the heap, you have Sun Solaris[tm] Package Clusters:

  • SUNWCXall - Entire Distribution plus OEM support
  • SUNWCall - Entire Distribution
  • SUNWCprog - Developer System Support
  • SUNWCuser - End User System Support
  • SUNWCreq - Core System Support
  • SUNWCrnet - Reduced Networking Core System Support
  • SUNWCmreq - Minimal Core System Support

Each of these are composed of Sun Solaris[tm] Package MetaClusters:

  • SUNWCcs - Core Solaris
  • SUNWCpkgcmds - Package Management Commands
  • etc...

Each of these, such as SUNWCcs, are composed of Sun Solaris[tm] Packages:

  • SUNWckr Core Solaris Kernel (Root)
  • SUNWcnetr Core Solaris Network Infrastructure (Root)
  • SUNWcsd Core Solaris Devices
  • SUNWcsl Core Solaris, (Shared Libs)
  • SUNWcslr Core Solaris Libraries (Root)
  • SUNWcsr Core Solaris, (Root)
  • SUNWcsu Core Solaris, (Usr)

Utilizing Solaris Package Companion, the relationships between packages is transparent.  First, download the Solaris Package Companion.  Second, initilize a repository of the local system:

  • ./spc-v0.6.ksh -i -l -r ./myrepository
I prefer shorter names for easy typing :)
  • ln -s spc-v0.6.ksh s
  • ln -s myrepository r

Then, you can start investigating: 

What MetaClusters are in SUNWCrnet Cluster?./s -r ./r -M SUNWCrnet
What Packages are in SUNWCssh MetaCluster?./s -r ./r -c SUNWCssh
What requires SUNWmfrun Package?./s -r ./r -z SUNWmfrun | xargs pkginfo
What does SUNWbash Package require?./s -r ./r -d SUNWbash | xargs pkginfo
What requires SUNWtls MetaCluster Packages?./s -r ./r -c SUNWCtls | xargs ./s -r ./r -z | xargs pkginfo | sort -u
What does SUNWCssh MetaCluster Packages require?./s -r ./r -c SUNWCssh | xargs ./s -r ./r -d | xargs pkginfo | sort -u

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

leojava

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today