Two new commands: list and uninstall #98

Closed
bos opened this Issue May 24, 2012 · 4 comments

Comments

Projects
None yet
1 participant
Contributor

bos commented May 24, 2012

(Imported from Trac #106, reported by guest on 2006-12-15)

Suggested by Claus Reinke:

    .. at the very least I would hope to see the following two
    additional commands:
    list            List all installed packages
    uninstall    Provide uninstall information
    the former ought to list known Haskell implementations and their
    package databases, the latter ought to output status information
    about the (current) package (has it been registered anywhere? if
    yes, point to the unregister command first. have files been copied
    anywhere? if yes, explain which directories can simply and safely
    be removed).
Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2006-12-15)

Note that we can only do this for Haskell implementations that have any notion of installed / registered packages.

Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2007-08-04)

We should implement this in cabal-install. There is already a list command for cabal-install but it lists uninstalled packages. Probably it should list all packages, installed and otherwise with an indication of whether they are installed or not. There should perhaps also be a flag to ask to list just installed.

Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2007-11-21)

Uninstall is tricky because currently we do not keep any record of what files we install or where we install them.

Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2008-01-12)

Split into two tickets of rather different difficulty #235 for the list feature and #234 for tracking installed files to allow for later uninstall.

@bos bos closed this May 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment