kpu / kenlm

KenLM: Faster and Smaller Language Model Queries
http://kheafield.com/code/kenlm/
Other
2.5k stars 513 forks source link

How to uninstall? #291

Open giannislelekas opened 4 years ago

giannislelekas commented 4 years ago

Hi and thanks for the great work!

I have installed via cmake, however I have failed to find instructions on how to uninstall. I would be grateful if you could guide me through this, or point me to some relevant documentation.

Thanks!

kpu commented 4 years ago

https://stackoverflow.com/questions/41471620/cmake-support-make-uninstall https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake

xargs rm < install_manifest.txt
giannislelekas commented 4 years ago

Thank you for your reply. Running xargs rm < install_manifest.txt was my first thought, however there seems to be no install_manifest.txt file generated, despite the installation has completed successfully.

giannislelekas commented 4 years ago

Would removal of the build directory suffice in that case, as in https://stackoverflow.com/questions/9680420/looking-for-a-cmake-clean-command-to-clear-up-cmake-output ?

kpu commented 4 years ago

Did you run cmake install or something? The default build instructions just make stuff in the build directory.

I guess you could install to another directory, list the files, then delete those...

giannislelekas commented 4 years ago

Thanks again for your reply! I followed the standard build instructions provided by the repo, but no install_manifest.txt file was rendered after the install. Anyway, I will follow your instructions. Thank you.