Date: Thu, 15 Nov 2012 18:19:30 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r40003 - projects/pkgng/en_US.ISO8859-1/books/handbook/ports Message-ID: <201211151819.qAFIJUxj035123@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Thu Nov 15 18:19:30 2012 New Revision: 40003 URL: http://svnweb.freebsd.org/changeset/doc/40003 Log: Add basic information about 'pkg info'. 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 16:04:13 2012 (r40002) +++ projects/pkgng/en_US.ISO8859-1/books/handbook/ports/chapter.xml Thu Nov 15 18:19:30 2012 (r40003) @@ -760,6 +760,26 @@ PKGSUFFIX= .txz</programlisting> &man.pkg.conf.5;.</para> </sect3> + <sect3 id="pkgng-pkg-info"> + <title>Obtaining Information about Installed Packages with + <application>pkgng</application></title> + + <para>Information about the packages installed on a system can + be viewed by running <command>pkg info</command>. Similar + to <command>pkg_info</command>, the package version and + description for all packages will be listed.</para> + + <para>Information about a specific package is available by + running <command>pkg info + <replaceable>packagename</replaceable></command>. For + example, to see which version of + <application>pkgng</application> is installed on the system, + run:</para> + + <screen>&prompt.root; <userinput>pkg info pkg</userinput> +pkg-1.0.2 New generation package manager</screen> + </sect3> + <sect3 id="pkgng-installing-deinstalling"> <title>Installing and Removing Packages with <application>pkgng</application></title>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211151819.qAFIJUxj035123>