Kanan Yagublu
Kanan Yagublu

Reputation: 119

How to uninstall bazel 0.29.0 in order to install 0.26.1 because of tensorflow

I am using Redhat 7.3. I need to install tensorflow for that I already installed bazel 0.29.0 and when I wanted to configure tensorflow it requires bazel 0.26.1. Thats why i tried to uninstall bazel 0.29.0 but was not able to do it. I am new in Redhat community , could you please show me a way how to solve this problem ? Thanks in advance.

Upvotes: 4

Views: 10658

Answers (4)

francis billa
francis billa

Reputation: 1

On Mac: If you used brew for uninstalling, use:

brew uninstall bazel@version

Upvotes: 0

Parthish
Parthish

Reputation: 614

For windows user

choco uninstall bazel --yes

Upvotes: 2

Rami Alloush
Rami Alloush

Reputation: 2626

For newer versions 2.1.1, I executed the following

sudo rm /usr/bin/bazel /etc/bazelrc /usr/lib/bazel

Upvotes: 3

Dmitriy R. Starson
Dmitriy R. Starson

Reputation: 1918

Try:

rm $HOME/.cache/bazel
sudo rm /usr/local/bin/bazel /etc/bazelrc /usr/local/lib/bazel

Worked for me. I needed to reinstall bazel

Upvotes: 4

Related Questions