Skip to content

Instantly share code, notes, and snippets.

@izmailoff
Last active January 18, 2019 20:58
Show Gist options
  • Save izmailoff/b802cf36172690e48268465350c5237e to your computer and use it in GitHub Desktop.
Save izmailoff/b802cf36172690e48268465350c5237e to your computer and use it in GitHub Desktop.
install tensorflow on Fedora
# install protobuf
sudo dnf install protobuf*
# install bazel
# https://docs.bazel.build/versions/master/install-redhat.html
sudo dnf copr enable vbatts/bazel
sudo dnf install bazel
# get TF src
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
# build TF
./configure
bazel build --config=opt //tensorflow:libtensorflow.so
# Build script will output something like this
#Target //tensorflow:libtensorflow.so up-to-date:
# bazel-bin/tensorflow/libtensorflow.so
#INFO: Elapsed time: 1252.913s, Critical Path: 55.38s
@acesaif
Copy link

acesaif commented Mar 4, 2018

Does this support for Python3?

@andy-tai
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment