How to uninstall leiningen which was installed through the script?

Tarun Maganti

I have installed leiningen using this script. How can I uninstall it?

I tried this SO solution but it says self-install is deprecated.

Zanna

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to uninstall apps installed through Firefox Marketplace?

From Dev

How to uninstall program, which was installed via ./

From Dev

How to uninstall a package of which two versions are installed?

From Dev

How to uninstall Popcorn-Time installed with a script?

From Dev

How to uninstall Popcorn-Time installed with a script?

From Dev

How to uninstall Eclipse Mars which was installed using Oomph installer?

From Dev

uninstall .deb installed through software center

From Dev

Uninstall .ttf font which I installed earlier

From Dev

How to uninstall a .deb installed with dpkg?

From Dev

How to uninstall MongoDB that was manually installed

From Dev

How do I uninstall Telegram which was installed from the tar.xz obtained from the official website?

From Dev

Installing leiningen, how to move script to ~/bin?

From Dev

The script is installed in directory, which is not PATH

From Dev

Is there a way to uninstall Netbeans which I have installed using umake?

From Java

How to uninstall Rust that was installed via rustup?

From Java

How to uninstall a package installed with pip install --user

From Dev

How to check version of installed wine and uninstall it?

From Java

How to uninstall editable packages with pip (installed with -e)

From Dev

How to uninstall a Haskell package installed with stack?

From Dev

How to check version of installed wine and uninstall it?

From Dev

How do you uninstall manually installed Eclipse?

From Dev

How to uninstall nginx (installed from source)?

From Dev

How to uninstall manually installed java? (jdk 8)

From Dev

How to uninstall or remove recently-installed packages

From Dev

How to uninstall virtualbox package: "is not installed, so not removed"

From Dev

How to uninstall pre-installed programs in Xubuntu

From Dev

How to kill a process in shell script which is running through cron?

From Dev

Get version of software which will be installed through snap

From Dev

Uninstall a package that I have installed using a .sh script

Related Related

  1. 1

    How to uninstall apps installed through Firefox Marketplace?

  2. 2

    How to uninstall program, which was installed via ./

  3. 3

    How to uninstall a package of which two versions are installed?

  4. 4

    How to uninstall Popcorn-Time installed with a script?

  5. 5

    How to uninstall Popcorn-Time installed with a script?

  6. 6

    How to uninstall Eclipse Mars which was installed using Oomph installer?

  7. 7

    uninstall .deb installed through software center

  8. 8

    Uninstall .ttf font which I installed earlier

  9. 9

    How to uninstall a .deb installed with dpkg?

  10. 10

    How to uninstall MongoDB that was manually installed

  11. 11

    How do I uninstall Telegram which was installed from the tar.xz obtained from the official website?

  12. 12

    Installing leiningen, how to move script to ~/bin?

  13. 13

    The script is installed in directory, which is not PATH

  14. 14

    Is there a way to uninstall Netbeans which I have installed using umake?

  15. 15

    How to uninstall Rust that was installed via rustup?

  16. 16

    How to uninstall a package installed with pip install --user

  17. 17

    How to check version of installed wine and uninstall it?

  18. 18

    How to uninstall editable packages with pip (installed with -e)

  19. 19

    How to uninstall a Haskell package installed with stack?

  20. 20

    How to check version of installed wine and uninstall it?

  21. 21

    How do you uninstall manually installed Eclipse?

  22. 22

    How to uninstall nginx (installed from source)?

  23. 23

    How to uninstall manually installed java? (jdk 8)

  24. 24

    How to uninstall or remove recently-installed packages

  25. 25

    How to uninstall virtualbox package: "is not installed, so not removed"

  26. 26

    How to uninstall pre-installed programs in Xubuntu

  27. 27

    How to kill a process in shell script which is running through cron?

  28. 28

    Get version of software which will be installed through snap

  29. 29

    Uninstall a package that I have installed using a .sh script

HotTag

Archive