Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Delete OpenCV installation in Ubuntu.

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!