Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Provide a way to delete an installed version of KRE #14

Closed
davidfowl opened this issue Jul 3, 2014 · 7 comments
Closed

Provide a way to delete an installed version of KRE #14

davidfowl opened this issue Jul 3, 2014 · 7 comments

Comments

@davidfowl
Copy link
Member

For example I want to delete some old version of installed KRE, kvm should provide a way to delete them. Currently it is a manual folder delete.

This is similar to aspnet/dnx#319, but this item is to delete the KRE not the alias. By this we delete the KRE, but the alias still lives.

From aspnet/dnx#322

@rlbisbe
Copy link
Contributor

rlbisbe commented Jul 21, 2014

Should also delete related alias?

@graemechristie
Copy link
Contributor

I don't think so ... An alias doesn't point to a particular installed version of KRE (e.g. KRE-svr50-x86.1.0.0), just the package version number (e.g. 1.0.0). We could delete the alias if all installed versions of that alias are deleted, however I imagine one use case might be to delete a .NET install (e.g. svr50) and then install the core runtime for the same version using the alais. e.g.

kvm uninstall myalias -svr50
kvm install myalias -svrc50

@graemechristie
Copy link
Contributor

We probably also want to support a -all switch for deleting (uninstalling) all installed packages for a version or alias.

@graemechristie
Copy link
Contributor

Additionally we may want to mandate that the user specifies runtime or architecture specifically on the command line when there is more than one architecture or runtime package installed. That is, if the user has both "svr50" and "svrc50" runtimes installed, they would need to specify -svr50, -svrc50 or -all on the command line explicitly.

@xanather
Copy link

Has this been added? I am currently on 1.0.0-beta4 - no uninstall command. I was unsure if it is safe to delete the run time folder but I'll be doing it anyway.

@muratg
Copy link

muratg commented Jul 14, 2015

@xanather it's not added, and it should be safe to delete the runtime folder.

Closing this as #254 tracks the suggestion

@muratg muratg closed this as completed Jul 14, 2015
@taraslayshchuk
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants