Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

How to remove [setupvars.sh] OpenVINO

Chen__Mike
Beginner
5,068 Views

Dear Administrator

While I install Intel Neural Compute Stick 2,I encounter some problems and could not run applications. So I intend to remove OpenVINO and then re-install the system. 

1. Ubuntu Terminal Shows: 

[setupvars.sh] OpenVINO environment initialized

2. Path 

/opt/intel/openvivo_2019.1.144/openvino_toolkit_uninstaller/uninstall

Afrer I checked either Intel forum and Google, I could not find any answers. 

Please notify what's the remove command of OpenVINO? 

Thanks in advance, 

Mike 

 

0 Kudos
7 Replies
Shubha_R_Intel
Employee
5,068 Views

Dear Chen, Mike

In Windows you should be able to go to Add or Remove Programs and follow the prompts to remove OpenVino. In Linux you should find in your openvino installation directory the following :

/openvino_toolkit_uninstaller/uninstall.sh
./openvino_toolkit_uninstaller/uninstall_GUI.sh
 

Either one will work to uninstall OpenVino.

Thanks,

Shubha

0 Kudos
Sapiain__Roberto
Beginner
5,068 Views

Hi.

In my case, for easy enable/disable of the openvino environment, in linux.

I use in .bashrc an alias:

alias enable_openvino_env='source /opt/intel/openvino/setupvars.sh'  (put the right openvino path).

Then once I start a terminal, I don't have it automatically added.

So, If I need to work on a specific virtualenv and I'm going to use the intel-tools, I just run the command enable_openvino_env after I enter the virtualenv.

Leaving the virtualenv disables most of the openvino vars. But if you want to totally kill that env, just close that tab in the graphical terminal app.

0 Kudos
Shubha_R_Intel
Employee
5,068 Views

Dear Sapiain, Roberto,

These are good tips. Thanks for sharing them with the OpenVino community !

Shubha

0 Kudos
Chen__Mike
Beginner
5,068 Views

Dear Shubha:

While I open the following path: /opt/intel/openvivo_2019.1.144/openvino_toolkit_uninstaller/uninstall, I can see

the two documents as you mentioned: 

uninstall.sh

uninstall_GUI.sh

However,  you have not notified how to uninstall [setupvars.sh] OpenVINO environment initialized. I could not uninstall it. 

Shall you please give me a detailed uninstallation command?

Thanks in advance,

Mike 

 

 

 

 

0 Kudos
Chen__Mike
Beginner
5,068 Views

Dear Shubha 

While I tried the following command 

$ sudo /opt/intel/openvino_2019.1.144/openvino_toolkit_uninstaller/uninstall_GUI.sh

"[setupvars.sh] OpenVINO environment initialized" disappeared.

 

However, the ubuntu terminal has the following popup each time when I open the terminal. 
bash: /opt/intel/openvino/bin/setupvars.sh: No such file or directory ​​​​

Do you have a method to solve the problem?

Best regards,

Mike 

0 Kudos
Chen__Mike
Beginner
5,068 Views

I solved the problem. Please see the steps as follows. 

1. While I tried the following command 

$ sudo /opt/intel/openvino_2019.1.144/openvino_toolkit_uninstaller/uninstall_GUI.sh

"[setupvars.sh] OpenVINO environment initialized" disappeared.

2. However, the ubuntu terminal has the following popup each time when I open the terminal. 

bash: /opt/intel/openvino/bin/setupvars.sh: No such file or directory ​​​​

3. I use the following command to solve the problem.

$ gedit ~/.bashrc

4. And then delete intel openvino code save the bashrc document.

Then the ubuntu terminal goes back to the normal work.

Best regards,

Mike 

0 Kudos
Sapiain__Roberto
Beginner
5,068 Views

No problem at all, Thank you  :D

I would advise if you're going to use more intel libraries, to go that way for each of them. And if you need to enable them all, after they've been defined, simply create another alias encompassing all the ones you need at once.

alias enable_openvino_env='...'

alias enable_mkl_ver='...'

alias enable_tbb_ver='...'

alias enable_ipp_ver='...'

...

alias enable_intel_all='enable_openvino_env; enable_mkl_ver; enable_tbb_ver; ...'

 

That'll add every required library in just a command. For development is fine, but in a production environment, I guess another approach should be taken (used this when I was testing several intel libs with a program, for Linear optimization solvers).

 

0 Kudos
Reply