What's the opposite of 'make install', i.e. how do you uninstall a library in Linux?

后端 未结 12 616
旧巷少年郎
旧巷少年郎 2020-11-28 17:08

While running

./configure --prefix=/mingw 

on a MinGW/MSYS system for a library I had previously run

\'./configure --pref         


        
12条回答
  •  被撕碎了的回忆
    2020-11-28 17:26

    There is no standard unfortunately, this is one of the perils of installing from source. Some Makefiles will include an "uninstall", so

    make uninstall
    

    from the source directory may work. Otherwise, it may be a matter of manually undoing whatever the make install did.

    make clean usually just cleans up the source directory - removing generated/compiled files and the like, probably not what you're after.

提交回复
热议问题