File: //usr/lib/google-cloud-sdk/lib/surface/topic/__pycache__/uninstall.cpython-312.pyc
�
�� � �b � d Z ddlmZ ddlmZ ddlmZ ddlmZ G d� dej � Zy) z.Supplementary help for uninstalling Cloud SDK.� )�absolute_import)�division)�unicode_literals)�basec � � e Zd ZdZy)� Uninstalla� Supplementary help for uninstalling Google Cloud CLI.
# Uninstalling Google Cloud CLI
Note: For installations completed using an OS package (such as `apt-get`,
`yum`, etc.), uninstall Google Cloud CLI via the OS package manager.
Note: For Windows installations, execute the uninstaller.exe found under
your Google Cloud CLI directory.
To completely remove Google Cloud CLI, follow these instructions:
* Locate your installation directory by running:
$ gcloud info --format="value(installation.sdk_root)"
* Locate your user config directory (typically `~/.config/gcloud`
on MacOS and Linux) by running:
$ gcloud info --format="value(config.paths.global_config_dir)"
* Delete both these directories.
* Additionally, remove lines sourcing `completion.bash.inc` and
`paths.bash.inc` in your `.bashrc` or equivalent shell init file,
if you added them during installation.
* Review the contents of the `.boto` file in your home directory and
remove the sections '[GoogleCompute]' and '[GSUtil]'. In addition,
review the sections '[OAuth2]' and '[Credentials]' for settings that
are no longer needed.
* Some systems may have `Cache` directories such as `~/Library/Caches/` on
Mac OS X. Find and delete these directories for your system:
$ find ~/Library/Caches/ -type d -name "google-cloud-sdk" | xargs rm -r
N)�__name__�
__module__�__qualname__�__doc__� � �lib/surface/topic/uninstall.pyr r s � �%r r N) r �
__future__r r r �googlecloudsdk.callioper �TopicCommandr r
r r �<module>r s( �� 5� &� � '� (�&��!�!� &r