Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove a package from a system?

Administration

How to remove a package from a system?

by  Michael42  Posted    (Edited  )
Common Package Related Commands
Display package info:
pkginfo <=== Show ALL packages
pkginfo <packagename>
pkginfo |grep -i <uniquestring>

Remove package:
pkgrm <packagename>
pkgrm -n <packagename> (For No prompts.)

[color blue]
Example Session to Remove All "samba" Related Packages
=======================================================
1. To determine all the possible related packages to uninstall run: pkginfo | grep -i samba

2. Then for each related package: pkgrm <pkgname>
[/color]



Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top