Eu tentaria baixar o script primeiro e depois executá-lo em bash
.
Exemplo
$ curl -v https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash -O
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to dl.google.com port 443 (#0)
* Trying 173.194.46.72...
* Connected to dl.google.com (173.194.46.72) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using SSL_RSA_WITH_RC4_128_SHA
* Server certificate:
* subject: CN=*.google.com,O=Google Inc,L=Mountain View,ST=California,C=US
* start date: Feb 12 14:58:10 2014 GMT
* expire date: Jun 12 00:00:00 2014 GMT
* common name: *.google.com
* issuer: CN=Google Internet Authority G2,O=Google Inc,C=US
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> GET /dl/cloudsdk/release/install_google_cloud_sdk.bash HTTP/1.1
> User-Agent: curl/7.29.0
> Host: dl.google.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Length: 3622
< Content-Type: application/octet-stream
< Etag: "408a0"
< Expires: Thu, 27 Feb 2014 23:07:53 PST
< Last-Modified: Wed, 26 Feb 2014 19:48:00 GMT
< Server: downloads
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 1; mode=block
< Date: Thu, 27 Feb 2014 07:07:53 GMT
< Alternate-Protocol: 443:quic
<
{ [data not shown]
100 3622 100 3622 0 0 8320 0 --:--:-- --:--:-- --:--:-- 8307
* Connection #0 to host dl.google.com left intact
Assim que terminar de fazer o download, você deverá ter um arquivo como este:
$ ls -l
total 4
-rw-rw-r--. 1 saml saml 3622 Feb 27 02:07 install_google_cloud_sdk.bash
A partir daqui, você pode executá-lo manualmente:
$ bash install_google_cloud_sdk.bash
curl -f "https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz" > "/tmp/tmp.dlj5Kju8Tp/google-cloud-sdk.tar.gz"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 364k 100 364k 0 0 521k 0 --:--:-- --:--:-- --:--:-- 521k
Directory to extract under (this will create a directory google-cloud-sdk) (/home/saml):
...
...