2016-03-30 30 views
0
bulunmayan

Ben Kıvrık Solaris bir şey yüklemeye çalışıyorum ancak şu mesajı alıyorum:bukle: Solaris

curl: not found 
Ben Solaris üzerinde curl yükleyebilir nasıl

?

+0

Bu arada, bu unix.stackexchange.com veya superuser.com adresinde sorulması gerekir. Oraya taşınmış olabilir. – jlliagre

+1

Solaris 11'in ve daha sonraki paketlerin Solaris 10 ve üstü sürümlerden çok farklı olması nedeniyle Solaris'in hangi sürümünün sorulmasında çok yararlı olduğunu belirtmek için, yanıtlar her biri için büyük ölçüde farklı olacaktır. – alanc

cevap

2

curl bir Solaris 11 standart kurulum parçasıdır: Hala Solaris 10 kullanıyorsanız

$ cat /etc/release 
          Oracle Solaris 11.3 X86 
    Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved. 
          Assembled 06 October 2015 
$ type curl 
curl is /usr/bin/curl 
$ pkg search -l -p /usr/bin/curl 
PACKAGE        PUBLISHER 
pkg:/web/[email protected] 

, sen Eğer varsa Solaris Companion CD örneğin SFWcurl için, curl paketleri önceden derlenmiş olsun olabilecek veya OpenCSW itibaren, veya kendi from source'u inşa edin.

$ pkginfo -l SFWcurl 
    PKGINST: SFWcurl 
     NAME: curl - tool for transfering data specified with URL syntax 
    CATEGORY: system 
     ARCH: sparc 
    VERSION: 7.19.5,REV=2009.08.23.06.12 
    BASEDIR: /opt 
    VENDOR: curl and libcurl 
     DESC: curl - tool for transfering data specified with URL syntax 
    PSTAMP: freeware20090825021108 
    INSTDATE: Mar 15 2010 11:05 
    HOTLINE: Please contact the owners of this software 
    STATUS: completely installed 
    FILES:  75 installed pathnames 
        8 directories 
        3 executables 
       2537 blocks used (approx) 

Alternatif olarak, kullanım durumuna bağlı olarak, sadece benzer özelliklere sahip olan wget kullanabilirsiniz: Solaris 10 için

$ cat /etc/release 
        Oracle Solaris 10 8/11 s10x_u10wos_17b X86 
    Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. 
          Assembled 23 August 2011 
$ type wget 
wget is /usr/sfw/bin/wget 
$ pkgchk -lp /usr/sfw/bin/wget 
Pathname: /usr/sfw/bin/wget 
Type: regular file 
Expected mode: 0555 
Expected owner: root 
Expected group: bin 
Expected file size (bytes): 311832 
Expected sum(1) of contents: 38400 
Expected last modification: Mar 23 17:29:39 2011 
Referenced by the following packages: 
     SUNWwgetu 
Current status: installed 
2

Sun Explorer varsa, o zaman bukle var:

x86 üzerinde

/opt/SUNWexplo/bin/solaris/curl.sparc 

:

SPARC'larda
/opt/SUNWexplo/bin/solaris/curl.i386