We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec0aec9 commit f0fe92dCopy full SHA for f0fe92d
compile_tensorflow_cpp.md
@@ -35,14 +35,15 @@ Check a supported version at `tensorflow/.bazelversion`.
35
36
Add bazel repository:
37
```bash
38
-sudo apt install apt-transport-https curl gnupg
39
-curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
40
-sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
+sudo apt install curl gnupg
+curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
41
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
42
```
43
44
Install:
45
+sudo apt update
46
+# Install the latest version
47
sudo apt install bazel
48
# or a specific version, e.g.,
49
sudo apt install bazel-3.7.2
0 commit comments