rakhi.sawant
rakhi.sawant

Reputation: 21

How to remove opencv libraries from Ubuntu?

I installed opencv with sudo apt-get install libopencv-dev I want to uninstall now, as I already have opencv. So, I now have 2 versions of opencv

Upvotes: 2

Views: 423

Answers (1)

binaryOps20
binaryOps20

Reputation: 107

You can remove packages if you installed the package using apt-get, by typing apt-get remove "packagename"(remove quotes).

Additionally you can use whereis command(if memory serves me correctly on ubuntu) by using "whereis packagename" and it should point you to where the conflicting package is, sometimes it is installed within the /usr/bin or the /opt directory , so you can remove that directory manually.

Food for thought if your after a particular file you can use the find command to find the library as well "find packagenameoranyfile"

Upvotes: 1

Related Questions