bazel icon indicating copy to clipboard operation
bazel copied to clipboard

[bazel.build] Problem with /install/ubuntu

Open SiddheshKukade opened this issue 3 years ago • 1 comments

Problem :

here : https://bazel.build/install/ubuntu#install-on-ubuntu Around 5 command are given to copy and paste on Ubuntu

sudo apt install apt-transport-https curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list

Adding a -y to the 1st line will help to seamlessly continue the execution of these commands.

Solution

sudo apt install -y apt-transport-https curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list

SiddheshKukade avatar Dec 07 '22 04:12 SiddheshKukade

Hello Maintainers, If this issue and solution is valid I would like to take this. Please suggest improvements if required. Thanks

SiddheshKukade avatar Dec 07 '22 04:12 SiddheshKukade

Corresponding PR has been closed.

keertk avatar Jan 09 '23 22:01 keertk