svn commit: r40007 - projects/pkgng/en_US.ISO8859-1/books/handbook/ports

Glen Barber gjb at FreeBSD.org
Thu Nov 15 18:19:40 UTC 2012


Author: gjb
Date: Thu Nov 15 18:19:39 2012
New Revision: 40007
URL: http://svnweb.freebsd.org/changeset/doc/40007

Log:
  Document 'pkg delete'.
  
  Based on notes by:	wblock, swills

Modified:
  projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml

Modified: projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml
==============================================================================
--- projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml	Thu Nov 15 18:19:37 2012	(r40006)
+++ projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml	Thu Nov 15 18:19:39 2012	(r40007)
@@ -829,7 +829,20 @@ ca_root_nss-3.13.5	The root certificate 
 curl-7.24.0	Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
 pkg-1.0.2	New generation package manager</screen>
 
-	<para><!-- pkg delete --></para>
+	<para>Packages that are no longer needed can be removed with
+	  <command>pkg delete</command>.  For example, if it turns out
+	  that <application>curl</application> is not needed after
+	  all:</para>
+
+	<screen>&prompt.root; <userinput>pkg delete curl</userinput>
+The following packages will be deleted:
+
+	curl-7.24.0_1
+
+The deletion will free 3 MB
+
+Proceed with deleting packages [y/N]: <userinput>y</userinput>
+Deleting curl-7.24.0_1... done</screen>
       </sect3>
 
       <sect3>


More information about the svn-doc-projects mailing list