Sudo make uninstall opencv




















If you installed OpenCV from package manager, it's best to remove those packages. Check: apt list --installed grep opencv. If you built it yourself, and you still got the build folder, run sudo make uninstall from the OpenCV build directory. However the procedure should be similar on other Linux and probably MacOS too.

Asked: GpuMat misses operators, and functions that compared with Mat. EDIT: I ran the package manager again,and found that not all opencv packages from the ppa had gotten installed properly. So I did a sudo apt-get install opencv again, and now I get this error:.

You can also use the Linux find command. So, to find all OpenCV libraries you can do the following this might take a while :. The above command will find any file containing opencv in the name, and will prompt you to remove it. As always, be careful when deleting things manually! Another option might be to manually compile OpenCV again exactly as you did before , make install to create the install manifest, and then try make uninstall to see if it will clean up itself.

Replace it according to how you executed cmake. If opencv is installed using sudo make install command on source then go to the build folder and use sudo make uninstall and it should uninstall opencv. There are some files and folders used by the system containing "opencv" in their name.

You definitely do not want to remove them. A better alternative would be to use this command, which prompts you before deleting each of the files and folders found:.

In case you accidentally removed any of the system's native opencv files and broke something or maybe it seemed like a good idea at the time , here's your fix:.

If you need to set up the source list prior to installing ros melodic, you can use the commands below execute them before step 3 if step 3 doesn't work for you :. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 9 years, 11 months ago. Errors may be prompted at this time, as shown in the figure below upper part.

Configure bash. You can see that the camera is turned on and there is a hello opencv in the upper left corner This means that the configuration is successful. Programmer Group A programming skills sharing group. Ubuntu Download link Releases - OpenCV , select the sources version 2. I ran that command and I deleted 10 or so libraries. The process ended in less that half a minute. Furthermore do all the libraries contain "opencv" in their title?

Show 2 more comments. This may be an easier way to go: sudo apt-get autoremove opencv-doc opencv-data libopencv-dev libopencv2. Paul Gregoire Paul Gregoire 6 6 silver badges 14 14 bronze badges. Seems this command more simple sudo apt-get autoremove opencv-data I tried it with opencv 2. Use the synaptic package manager to remove all opencv libraries from your machine. Bhartendu Kumar Bhartendu Kumar 11 1 1 bronze badge.

Rohan Sharma Rohan Sharma 1 1 1 bronze badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.



0コメント

  • 1000 / 1000