Ask Your Question
1

Delete OpenCV installation in Ubuntu. [closed]

asked 2020-10-06 22:05:33 -0600

ajpaezm gravatar image

Hi,

I installed OpenCV4 using the following command in Ubuntu 20.04:

sudo apt-get install python-opencv

It imports fine, but I need to undo this installation so I can build it from Source like this document states.

I ran the following command:

dpkg --get-selections | grep -v deinstall | grep opencv

Instead of uninstalling all files one by one, I did this:

sudo apt-get --purge remove libopencv*

Would that be enough or should I do something else?

Thanks for any advice!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by supra56
close date 2020-10-07 22:11:35.071819

Comments

R u using raspberry pi?

supra56 gravatar imagesupra56 ( 2020-10-07 14:03:08 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2020-10-07 11:01:27 -0600

ajpaezm gravatar image

Thank you! I performed some tests as well and it was imported OK. It is strange, making the build for the install is better if you have other packages that require a cmake build, this way they can find the packages properly. Using the apt-get you can't even find the folder that hosts the OpenCV installation, only a sort of wrapper on the directory of Python.

edit flag offensive delete link more
2

answered 2020-10-07 07:36:58 -0600

supra56 gravatar image

updated 2020-10-07 07:37:18 -0600

Yes. That is sufficiently. It should be ok.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-06 22:05:33 -0600

Seen: 9,519 times

Last updated: Oct 06 '20