This article helps in administering the package in the Solaris such as adding, removing, upgrading, patching, getting info, etc. As we already know that in Linux we use rpm and yum commands for installing or removing the packages. But in Solaris, the above said commands are non-functional.
1.Installing a Package:
#pkgadd – used for installing the package, the default installation spool directory is /var/spool/pkg.
Example
#pkgadd –a {admin} – indicate to use the installation administration file specified by admin instead of the default file.
#pkgadd –d {device} – the package to be installed must be copied from the device.
2.Checking a Package:
#pkgchk – used to check the accuracy of the installed files
Example
To check the content of an installed package SUNWbash,
#pkgchk –c SUNWbash
To check the file attribute of an installed package SUNWPython,
#pkgchk –a SUNWPython
3. Retrieving information about Packages:
#pkginfo – to retrieve the information about the s/w package installed in the system,
Example
To get information on the list of fully installed package,
#pkginfo –i
To get information on the list of partially installed package,
#pkginfo –p
To get the information on the selective category, can be retrieved by the category value set in the pkginfo for the attribute values.
#pkginfo –c {category value}
4. Removing a Package:
#pkgrm – to remove the completely or partially installed package
To remove the source package by using the admin specified installation file instead of the default file,
#pkgrm –a {admin}
To remove all the files of the package including those shared by other packages.
#pkgrm –A packagename
To remove the package in the non-interactive mode, the default is the interactive mode,
#pkgrm –n SUNWPython
Hope the above information is useful while dealing with some packages.
Thanks
Logu
Logu_microsoft@hotmail.com
91-98414 99143
Subscribe to:
Post Comments (Atom)
3 comments:
nike epic react flyknit
jordan 12
golden goose outlet
ferragamo belt
kyrie 3 shoes
supreme clothing
adidas tubular x
kobe 9
nike air max
off white hoodie
replica wholesale handbags GIOU replica wholesale handbags AFOW high quality replica handbags BMOBV
best site https://www.dolabuy.ru/ webpage Gucci Dolabuy this replica ysl handbags
Post a Comment