samsul@tios:/media/samsul/seagate$ /opt/google-cloud-sdk/install.sh
Welcome to the Google Cloud SDK!

To help improve the quality of this product, we collect anonymized data on how
the SDK is used. You may choose to opt out of this collection now (by choosing
'N' at the below prompt), or at any time in the future by running the following
command:
    gcloud config set disable_usage_reporting true

Do you want to help improve the Google Cloud SDK (Y/n)?  n

Traceback (most recent call last):
  File "/opt/google-cloud-sdk/bin/bootstrapping/install.py", line 187, in <module>
    main()
  File "/opt/google-cloud-sdk/bin/bootstrapping/install.py", line 162, in main
    Prompts(pargs.usage_reporting)
  File "/opt/google-cloud-sdk/bin/bootstrapping/install.py", line 88, in Prompts
    scope=properties.Scope.INSTALLATION)
  File "/opt/google-cloud-sdk/lib/googlecloudsdk/core/properties.py", line 993, in PersistProperty
    config.EnsureSDKWriteAccess()
  File "/opt/google-cloud-sdk/lib/googlecloudsdk/core/config.py", line 404, in EnsureSDKWriteAccess
    raise exceptions.RequiresAdminRightsError(sdk_root)
googlecloudsdk.core.exceptions.RequiresAdminRightsError: You cannot perform this action because you do not have permission to modify the Google Cloud SDK installation directory [/opt/google-cloud-sdk].

Re-run the command with sudo: sudo /opt/google-cloud-sdk/bin/gcloud ...
samsul@tios:/media/samsul/seagate$ sudo /opt/google-cloud-sdk/install.sh
Welcome to the Google Cloud SDK!

To help improve the quality of this product, we collect anonymized data on how
the SDK is used. You may choose to opt out of this collection now (by choosing
'N' at the below prompt), or at any time in the future by running the following
command:
    gcloud config set disable_usage_reporting true

Do you want to help improve the Google Cloud SDK (Y/n)?  n


This will install all the core command line tools necessary for working with
the Google Cloud Platform.



Your current Cloud SDK version is: 90.0.0
Installing components from version: 90.0.0

┌────────────────────────────────────────────────────────────────────────────┐
│                    These components will be installed.                     │
├─────────────────────────────────────────────────────┬────────────┬─────────┤
│                         Name                        │  Version   │   Size  │
├─────────────────────────────────────────────────────┼────────────┼─────────┤
│ BigQuery Command Line Tool                          │     2.0.18 │ < 1 MiB │
│ BigQuery Command Line Tool (Platform Specific)      │     2.0.18 │ < 1 MiB │
│ Cloud SDK Core Libraries (Platform Specific)        │ 2015.11.24 │ < 1 MiB │
│ Cloud Storage Command Line Tool                     │       4.16 │ 2.6 MiB │
│ Cloud Storage Command Line Tool (Platform Specific) │       4.15 │ < 1 MiB │
│ Default set of gcloud commands                      │            │         │
└─────────────────────────────────────────────────────┴────────────┴─────────┘

For the latest full release notes, please visit:
  https://cloud.google.com/sdk/release_notes

╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: BigQuery Command Line Tool                   ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: BigQuery Command Line Tool (Platform Spec... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud SDK Core Libraries (Platform Specific) ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud Storage Command Line Tool              ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud Storage Command Line Tool (Platform... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Default set of gcloud commands               ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

Update done!


Modify profile to update your $PATH and enable shell command 
completion? (Y/n)?  y

The Google Cloud SDK installer will now prompt you to update an rc 
file to bring the Google Cloud CLIs into your environment.

Enter a path to an rc file to update, or leave blank to use 
[/home/samsul/.bashrc]:  
Backing up [/home/samsul/.bashrc] to [/home/samsul/.bashrc.backup].
[/home/samsul/.bashrc] has been updated.
Start a new shell for the changes to take effect.


For more information on how to get started, please visit:
  https://developers.google.com/cloud/sdk/gettingstarted


samsul@tios:/media/samsul/seagate$ 
  • linux/install-google-cloud-sdk.sh
  • Terakhir diubah: 5 bulan yang lalu
  • (Perubahan eksternal)