Add to Favorites | Make me yr homepage | RSS
Home > OS > Solaris

Solaris package management commands: pkginfo, pkgadd and pkgrm

Posted 2012-05-05 09:38:12 by admin
Advertisement
the


the pkginfo
View the current operating system already installed packages.
# Pkginfo | more

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


the pkginfo [-d [device | pathname]] [-l] pkg_name

Parameters:
-D package where the device path
Detailed description of the package-l
pkg_name package name
# Pkginfo-d/cdrom/cdrom0/s0/Solaris_2.7/Product-l SUNWaudio
PKGINST: SUNWaudio,
NAME: Audio applications
CATEGORY: system
The ARCH: sparc
VERSION: 3.6.4, REV = 1.98.08.13
The BASEDIR:/
The VENDOR: Sun Microsystems, Inc.
DESC: Audio binaries
PSTAMP: dtbuild37s19980813171753
HOTLINE: Please contact your local service provider
STATUS: spooled
The FILES: 9 spooled pathnames
2 directories
3 executables
The package information files
700 blocks used (approx)

pkgrm
pkgrm to remove packages

Syntax:

pkgrm package_name

# The pkgrm SUNWaudio
The following the package is currently installed:
SUNWaudio Audio applications
(Sparc) 3.6.4, REV = 1.98.08.13
Do you want to remove this the package? Y
# # Removing installed package the instance
# # Verifying package dependencies.
WARNING:
Of The the package depends on the package
currently being removed.
WARNING:
Of The the package depends on the package
currently being removed.
WARNING:
Of The the package depends on the package
currently being removed.
WARNING:
Of The the package depends on the package
currently being removed.
The Dependency checking failed.
Do you want to continue with the removal of this the package [y, n,? Q

Note: If a file multiple packages share only when the final package was deleted when removed.

the pkgadd
Use pkgadd add package
Command format:
the pkgadd [-d device | The pathname]] pkg_name

# Pkgadd-d/cdrom/cdrom0/s0/Solaris_2.7/Product SUNWaudio
Processing, the package instance from

Audio applications
(Sparc) 3.6.4, REV = 1.98.08.13
Copyright 1998 of Sun Microsystems, Inc. All rights reserved.
Using as the package base directory.
# # Processing package information.
# # Processing system information.
The package pathnames are already properly installed.
# # Verifying package dependencies.
# # Verifying disk space requirements.
# # Checking for conflicts with packages already installed.
# # Checking for setuid/setgid, programs
This the package contains the scripts which will be executed with super-user
permission during the process of installing this the package.
Do you want to continue with the installation of [y, n,?] Y
Installing Audio applications as
# # Installing part 1 of 1.
Installation of was successful.

Note: Have you found this article is fulled of spelling and grammatical errors? Yeah, it was translated by machine, but if you found it worth reading, please click the "Rate" button below to vote it. When it received 20 votes or more, it will be put to a library and waited for a manual translation. If you can read Chinese, check the original posts here: Solaris package management commands: pkginfo, pkgadd and pkgrm

Rate
Back Home
Back
Leave a Comment comments
Username: Password:
Verification code Anonymous
Recommendation
Related Posts
    No Related Articles
Latest News
Popular Pages
Advertisement