Removing all installed OpenCV libs

前端 未结 8 844
花落未央
花落未央 2020-12-01 03:07

I\'m running Kubuntu 11.10 (w/ KDE 4.8)

Before you read all this :

I just want to remove all traces of OpenCV from my system, so I can start afresh..

<
8条回答
  •  不知归路
    2020-12-01 03:37

    If you have the build directory then it is recommended to execute:

     $ sudo make uninstall
    

    from the build directory as per @Navid 's answer

    But this will leave few .so* files somewhere

    To completely remove all such files, do:

    $ sudo rm /usr/local/{bin,lib}/*opencv* 
    

    /usr/local is what we normally set CMAKE_INSTALL_PREFIX to while running cmake. Replace it according to how you executed cmake

提交回复
热议问题