Solaris 11 包管理新体验(2)

root@ :~# pkg info sunbersion
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:
        sunbersion
root@ :~# pkg info subversion
          Name: developer/versioning/subversion
      Summary: Subversion source code management system
  Description: A full-featured version control and source code management
                system designed to be a better CVS
      Category: Development/Source Code Management
        State: Installed
    Publisher: solaris
      Version: 1.6.16
Build Release: 5.11
        Branch: 0.175.0.0.0.2.537
Packaging Date: October 19, 2011 09:58:30 AM
          Size: 6.12 MB
          FMRI: pkg://solaris/developer/versioning/subversion@1.6.16,5.11-0.175.0.0.0.2.537:20111019T095830Z
root@ :~#

root@ :~# which svn
/usr/bin/svn
root@ :~# pkg search /usr/bin/svn
INDEX      ACTION VALUE      PACKAGE
path      file  usr/bin/svn pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
root@ :~# pkg search file::svn
INDEX      ACTION VALUE      PACKAGE
basename  file  usr/bin/svn pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537

root@ :~#

root@ :~# python
Python 2.6.4 (r264:75706, Oct 17 2011, 17:17:06) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>
KeyboardInterrupt
>>>
root@ :~#

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/19457.html