I have installed leiningen using this script. How can I uninstall it?
I tried this SO solution but it says self-install
is deprecated.
The script has some helpful comments at the start:
# Ensure this file is executable via `chmod a+x lein`, then place it # somewhere on your $PATH, like ~/bin. The rest of Leiningen will be # installed upon first run into the ~/.lein/self-installs directory.
So to uninstall it, in theory you only need remove that directory
rm -r ~/.lein
assuming you did not run the script as root.
If you might want to reinstall the program in the future, you can keep the script; since it's in a path location, typing lein
would cause the script to be run again, reinstalling the software. If you don't want this to happen, delete the script itself (rm ~/bin/lein
assuming that is the path to it) or remove execute permission from it (chmod -x ~/bin/lein
).
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments