Date: Thu, 15 Nov 2012 18:19:39 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r40007 - projects/pkgng/en_US.ISO8859-1/books/handbook/ports Message-ID: <201211151819.qAFIJd0x035279@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211151819.qAFIJd0x035279>