How did I install Basel 0.21.0 for TensorFlow 1.13.1 compilation on Ubuntu 18.04?

TensorFlow does not support modern Basel versions:
05

So I uninstalled the modern Basel version and then installed Based 0.21.0:

apt-get install pkg-config zip g++ zlib1g-dev unzip python
wget https://github.com/bazelbuild/bazel/releases/download/0.21.0/bazel-0.21.0-installer-linux-x86_64.sh
chmod +x bazel-0.21.0-installer-linux-x86_64.sh
./bazel-0.21.0-installer-linux-x86_64.sh