Sorry for the inconvenience.  Chance of typos in templates, the navigation header should be functional for most versions of the handbook.
Potential remains for unforeseen breakage primarily in the handbook portion of the wiki.
Notice will be up until above verified and no other troubles found from recent modifications.

Difference between revisions of "Removing a package or a port"

From PC-BSD Wiki
Jump to: navigation, search
(Blanked the page)
Line 1: Line 1:
[[Image:home.png|link=|center|Return to Table of Contents]] [[Image:previous1.png|left|link=|Previous: FreeBSD ports]] [[Image:next1.png|right|link=|Next: Keeping PC-BSD up-to-date]]
The pkg_delete command can be used to uninstall either a package or a port from within Ports Jail. If you include the '''-x''' switch, you don't have to give the full name and version of the software. Be sure to give enough of a name so that you don't inadvertently uninstall other software matching the name:
'''pkg_delete -x kopete'''
If you just get the command prompt back, the delete was successful. You can verify this by checking that the package no longer exists in the package database:
'''pkg_info | grep kopete'''
You will just get your prompt back if no packages match that name.
If the software has other applications that depend upon it, '''pkg_delete''' will refuse to uninstall it. If you wish to override this setting, you can use the '''-xf''' switch to force the delete. However, use the force switch with caution as removing dependent software can adversely affect the applications that required that dependency.

Revision as of 09:00, 15 December 2010

Personal tools