Posts

Showing posts with the label Uninstallation

CMake Support "make Uninstall"?

Answer : If you want to add an uninstall target you can take a look to the official CMake FAQ at: https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake If you just want a quick way to uninstall all files, just run: xargs rm < install_manifest.txt install_manifest.txt file is created when you run make install . No there is not. See in the FAQ from CMake wiki: By default, CMake does not provide the "make uninstall" target, so you cannot do this. We do not want "make uninstall" to remove useful files from the system. If you want an "uninstall" target in your project, then nobody prevents you from providing one. You need to delete the files listed in install_manifest.txt file. [followed by some example code] Remove files and folders (empty only) added by make install from a cmake project: cat install_manifest.txt | sudo xargs rm cat install_manifest.txt | xargs -L1 dirname | sudo xargs rmdir -p ...

Apache Cordova - Uninstall Globally

Answer : Try sudo npm uninstall cordova -g to uninstall it globally and then just npm install cordova without the -g flag after cd ing to the local app directory Try this for Windows: npm uninstall -g cordova Try this for MAC: sudo npm uninstall -g cordova You can also add Cordova like this: If You Want To install the previous version of Cordova through the Node Package Manager (npm): npm install -g cordova@3.6.3-0.2.13 If You Want To install the latest version of Cordova: npm install -g cordova Enjoy! Super late here and I still couldn't uninstall using sudo as the other answers suggest. What did it for me was checking where cordova was installed by running which cordova it will output something like this /usr/local/bin/ then removing by rm -rf /usr/local/bin/cordova