Commands for Sun package management: Pkginfo, Pkgadd, and PKGRM

Source: Internet
Author: User
Tags documentation

Pkginfo Display Package Information

View the packages that are already installed by the current operating system.

# Pkginfo | More

<SOME&NBSP;OUTPUT&NBSP;OMITTED>

Application Sunwaxg Solaris XGL 3.3 answerbook

Application Sunwaadm Solaris 7 System Administrator Collection

System sunwab2m Solaris Documentation Server Lookup

System SUNWAB2R Solaris Documentation Server

System Sunwab2s Solaris Documentation Server

System sunwab2u Solaris Documentation Server

Application Sunwabda Sun Ultra 5/10 hardware Answerbook

Application Sunwabe Solaris 7 User Collection

Application SUNWABSDK Solaris 7 Software Developer Collection

Pkginfo [-D [Device | pathname]] [-l] Pkg_name

Parameters:

The device path where the-D package resides

A detailed description of the-L software package

Pkg_category

Package type, available for application,graphics or system.

Pkg_name

Package name, such as sun products, the machine SUNW head.

Description

A brief description of the SOFTWARE PRODUCT.

Example:

# pkginfo-d/cdrom/cdrom0/s0/solaris_2.7/product |more

Use the PKGINFO-L command to display detailed information about the package, including the size of the package (by the hard disk block size

Calculation).

The last line of output below indicates the size of the package. Use this information and df-k command to determine if you have sufficient

Enough hard disk space to install this package.

# pkginfo-d/cdrom/cdrom0/s0/solaris_2.7/product-l Sunwaudio

Pkginst:sunwaudio

Name:audio applications

Category:system

Arch:sparc

version:3.6.4,rev=1.98.08.13

BASEDIR:/

Vendor:sun Microsystems, Inc.

Desc:audio binaries

pstamp:dtbuild37s19980813171753

Hotline:please Contact your local service provider

Status:spooled

Files:9 spooled pathnames

2 directories

3 executables

4 Package information files

Blocks used (approx)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.