感谢支持
我们一直在努力

Solaris 11 包管理新体验

Solaris 11 包管理新体验

终于有个机器升级到了solaris11,体验一下,感觉不错啊

root@ www.linuxidc.com :~# pkg list “*svn*”
pkg list: no packages matching ‘*svn*’ installed
root@ www.linuxidc.com :~# pkg list “*subversion*”
pkg list: no packages matching ‘*subversion*’ installed
root@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# svn
bash: svn: command not found
root@ www.linuxidc.com :~# pkg search subversion
INDEX      ACTION VALUE                                    PACKAGE
pkg.summary set    Java bindings for the Subversion SCM    pkg:/library/java/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Perl bindings for the Subversion SCM    pkg:/library/perl-5/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Python bindings for the Subversion SCM  pkg:/library/python-2/subversion@1.6.16-0.175.0.0.0.2.537
pkg.summary set    Subversion source code management system pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/developer/versioning/subversion  pkg:/developer/versioning/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/java/subversion          pkg:/library/java/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/perl-5/subversion        pkg:/library/perl-5/subversion@1.6.16-0.175.0.0.0.2.537
pkg.fmri    set    solaris/library/python-2/subversion      pkg:/library/python-2/subversion@1.6.16-0.175.0.0.0.2.537
root@ www.linuxidc.com :~#
root@ www.linuxidc.com :~# pkg list *subversion*
pkg list: no packages matching ‘*subversion*’ installed
root@ www.linuxidc.com :~# pkg list *svn*
pkg list: no packages matching ‘*svn*’ installed
root@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# pkg install developer/versioning/subversion@latest
Creating Plan /               
pkg install: No matching version of developer/versioning/subversion can be installed:
  Reject:  pkg://solaris/developer/versioning/subversion@1.7.5,5.11-0.175.1.0.0.24.0:20120904T171741Z
  Reason:  This version is excluded by installed incorporation pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.0.0.0.2.537:20111019T091357Z
root@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# pkg install developer/versioning/subversion
          Packages to install:  3
      Create boot environment: No
Create backup boot environment: No
DOWNLOAD                                  PKGS      FILES    XFER (MB)
Completed                                  3/3    294/294      2.5/2.5$<3>
PHASE                                        ACTIONS
Install Phase                                452/452
PHASE                                          ITEMS
Package State Update Phase                      3/3
Image State Update Phase                        2/2
PHASE                                          ITEMS
Reading Existing Index                          8/8
Indexing Packages                                3/3
root@ www.linuxidc.com :~# svn -version
svn: invalid option character: e
Type ‘svn help’ for usage.
root@ www.linuxidc.com :~# svn –version
svn, version 1.6.16 (r1073529)
  compiled Oct 17 2011, 17:11:48
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  – handles ‘http’ scheme
  – handles ‘https’ scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  – handles ‘svn’ scheme
* ra_local : Module for accessing a repository on local disk.
  – handles ‘file’ scheme
root@ www.linuxidc.com :~#
root@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# 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@ www.linuxidc.com :~# 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@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# which svn
/usr/bin/svn
root@ www.linuxidc.com :~# 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@ www.linuxidc.com :~# 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@ www.linuxidc.com :~#

root@ www.linuxidc.com :~# 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@ www.linuxidc.com :~#

推荐阅读

Solaris 11(x86)安装后不能使用中文EUC的问题 http://www.linuxidc.com/Linux/2012-10/71786.htm

Solaris 10/11 (x86)下使用VNC – Xvnc  http://www.linuxidc.com/Linux/2012-10/71787.htm

Oralce Solaris 11 源码安装Qt 4.8.3  http://www.linuxidc.com/Linux/2013-03/81440.htm

Solaris 11 安装 Zabbix Agent  http://www.linuxidc.com/Linux/2013-07/87701.htm

赞(0) 打赏
转载请注明出处:服务器评测 » Solaris 11 包管理新体验
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏