I try to install gcloud CLI in my Linux and I am following the documentation here.
From the installation part 1:
Add the gcloud CLI distribution URI as a package source. If your distribution supports the signed-by option, run the following command:
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.listIf your distribution doesn't support the signed-by option, run the following command:
echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
I don't understand what the signed-by option means in the documentation and I cannot find any related information in Ubuntu Documentation.
Could you give me some advice/hints? Thanks.
Note: I am using WSL2 with Ubuntu v20