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

From PC-BSD Wiki
Jump to: navigation, search
m
Line 4: Line 4:
  
  
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 that you don't inadvertently uninstall other software matching the name:
+
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
 
  # pkg_delete -x kopete
  
 
If the software has other applications that depend upon it, pkg_delete will refuse to uninstall it. If you wish to override this setting, use the -xf switch to force the delete.
 
If the software has other applications that depend upon it, pkg_delete will refuse to uninstall it. If you wish to override this setting, use the -xf switch to force the delete.

Revision as of 16:18, 7 October 2010

Return to Table of Contents
Previous: FreeBSD ports
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 the software has other applications that depend upon it, pkg_delete will refuse to uninstall it. If you wish to override this setting, use the -xf switch to force the delete.