Sorry for the inconvenience.  Known Navigation header breakage, its being "rebuilt" but forward nav should be ok now.
There may be other unforeseen breakage primarily in the handbook portion of the wiki.
The Table Of Contents section of each "PC-BSD® Users Handbook" page may be the best workaround.

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

From PC-BSD Wiki
Jump to: navigation, search
(Created page with 'To remove a package or port, first you need to find the name of the package. For instance if you want to remove kopete, to find out its full name, you will type: # pkg_info | g…')
 
Line 1: Line 1:
To remove a package or port, first you need to find the name of the package. For instance if you want to remove kopete, to find out its full name, you will type:
+
[[Image:home.png|link=http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook|center|Return to Table of Contents]] [[Image:previous1.png|left|link=http://wiki.pcbsd.org/index.php/FreeBSD_ports|Previous: FreeBSD ports]] [[Image:next1.png|right|link=http://wiki.pcbsd.org/index.php/Keeping_PC-BSD_up-to-date|Next: Keeping PC-BSD up-to-date]]
  
# pkg_info | grep kopete
 
kdenetwork-kopete-0.11_1 KDE multi-protocol instant messenger (IM)
 
  
Then to uninstall the package, type as root:
 
  
# pkg_delete kdenetwork-kopete-0.11_1
 
  
If you installed from the ports, you can also uninstall going to the specific port directory and you can uninstall from there:
+
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:
  
  # cd /usr/ports/net-im/kopete
+
  # pkg_delete -x kopete
# make deinstall
+
  
To learn more about ports and packages, feel free to read the excellent [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html FreeBSD handbook].
+
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 13:03, 1 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 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox