title: How to uninstall OpenCV in mac
body: <p>I installed OpenCV this way </p>
  
  <pre><code>#After downloading OpenCV-3.0, in the directory:
  echo "#define GTEST_USE_OWN_TR1_TUPLE 1" | cat &gt; temp1
  cat modules/ts/include/opencv2/ts/ts_gtest.h &gt; temp2
  cat temp1 temp2 &gt; modules/ts/include/opencv2/ts/ts_gtest.h
  mkdir build
  cd build
  cmake .. -Wno-dev
  make -j8 &amp;&amp; sudo make install
  #Update your bash_profile:
  ~$ echo "export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH" &gt;&gt;
  ~/.bash_profile
  #Close and open the Terminal
  #Open python console and try to import cv2 to test if everything works
  ~$ python import cv2
  </code></pre>
  
  <p>The version is not stable and making errors I want to uninstall it to avoid problem when I install opencv using brew, should I just delete the folder ?</p>
  
  <p>THis what I get when i did </p>
  
  <pre><code>cd build
   make uninstall
  -- Uninstalling "/usr/local/share/OpenCV/3rdparty/lib/libippicv.a"
  CMake Error at cmake_uninstall.cmake:20 (MESSAGE):
    Problem when removing "/usr/local/share/OpenCV/3rdparty/lib/libippicv.a"
  
  
  make[3]: *** [CMakeFiles/uninstall] Error 1
  make[2]: *** [CMakeFiles/uninstall.dir/all] Error 2
  make[1]: *** [CMakeFiles/uninstall.dir/rule] Error 2
  make: *** [uninstall] Error 2
  </code></pre>