How to uninstall a Haskell package installed with stack? -


how can uninstall haskell package installed globally stack tool?

stack --help shows uninstall command deprecated.

  uninstall                deprecated: command performs no actions, ,                            present documentation 

as stack --help says, uninstall doesn't anything. can read on stack github feature requested, ended being closed without desire add behavior stack, various reasons. so, officially, there no way use stack uninstall package.

to remove package stack installed, need manually so. entails using ghc-pkg unregister , finding location of package on system , removing via tool or rm. example,

stack install <package name> # remove package ghc-pkg unregister <pkg-id> cd /path/to/stack/packages # ~/.local/bin, configuration dependent rm <package name> 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -