Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 850
Kanan Yagublu Avatar asked Oct 19 '25 07:10

Kanan Yagublu


2 Answers

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

like image 86
Dmitriy R. Starson Avatar answered Oct 21 '25 21:10

Dmitriy R. Starson


For newer versions 2.1.1, I executed the following

sudo rm /usr/bin/bazel /etc/bazelrc /usr/lib/bazel
like image 42
Rami Alloush Avatar answered Oct 21 '25 22:10

Rami Alloush