install tensorflow 2.2 or higher ubuntu 18.04 code example
Example: install tensorflow from source ubuntu 18.04
sudo apt install pkg-config zip g++ zlib1g-dev unzipwget https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-installer-linux-x86_64.shchmod +x bazel-0.19.2-installer-linux-x86_64.shsudo ./bazel-0.19.2-installer-linux-x86_64.sh