Apple'ın sağladığı eski 7.24 yerine cURL'un en yeni sürümünü nasıl edinebilirim?
user:~ kevinsimper$ curl --version
curl 7.31.0 (x86_64-apple-darwin12.4.0) libcurl/7.31.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
Brew ile kurduğumda bunun sadece bir fıçı olduğunu ve eğer
brew link curl --force
sürüm stil 7.24, ancak protokoller güncellendi.
Kuser:~ kevinsimper$ curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
user:~ kevinsimper$ which curl
/usr/bin/curl
Daha sonra "elma" kıvrılmasını silerseniz, işlev çalıştırılamaz.
user:~ kevinsimper$ curl --version
curl 7.31.0 (x86_64-apple-darwin12.4.0) libcurl/7.31.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
user:~ kevinsimper$ brew install postgresql
==> Installing postgresql dependency: ossp-uuid
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
Error: /usr/bin/curl is not executable
4
Apple tarafından sağlanan dosyaları silmeyin - işletim sistemi bunları kullanmaya devam edebilir ve homebrew dosyaları kullanmayacaktır. Homebrew dosyasını kullanmak için
—
PATH'inizi