python3.10
pip
sudo apt update
sudo apt-get install python3.10-dev -y
sudo apt-get install python3-dev -y
sudo apt-get install python3-pip -y
cd protobuf
./install_protobuf.sh
cd bazel
wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-darwin-amd64
chmod +x bazelisk-darwin-amd64
mkdir -p bin
mv bazelisk-darwin-amd64 bin/bazel
bin/bazel --version
echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc
. ~/.bashrc
or
cd bazel
./install_bazel.sh
echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc
. ~/.bashrc
test bazel
bazel --version