Last active
March 26, 2019 15:48
-
-
Save jeffgreenca/d0966a8d1a2385f3057bfa50daeef09b to your computer and use it in GitHub Desktop.
Remove application installed via "make install" that does not provide an uninstall. Warning, may not be safe / always work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# requires installwatch | |
sudo installwatch -o install_watch.log make install | |
# review the install_watch.log before doing the rest | |
grep unlink install_watch.log | cut -f 3 | sudo xargs rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment