Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove specific architecture #258

Open
AdalyatNazirov opened this issue Mar 24, 2023 · 3 comments
Open

Remove specific architecture #258

AdalyatNazirov opened this issue Mar 24, 2023 · 3 comments

Comments

@AdalyatNazirov
Copy link

My setup is MacOS 13.2.1. Installations looks like this

dotnet --info
image

dotnet-core-uninstall list
image

As you can see I have .NET Runtime for Arm64 and x64. But I cannot figure out how to remove 7.0.4 (x64) only, but not arm64.

Is it possible to uninstall .NET Runtime of specific architecture?

@baronfel
Copy link
Member

I'm not sure that we support uninstalling arm64 - looks like we only have flags for x86 and x64. @joeloff what do you think?

@joeloff
Copy link
Member

joeloff commented Mar 24, 2023

At the moment I don't think you can do that sort of targeting. You'd have to remove 7.0.4 and the probably reinstall only the arm64 copy. Probably a good thing to support, e.g. someone had multiple x64 copies on an arm machine. but wants to only use the arm versions and remove all the x64 copies.

@AdalyatNazirov
Copy link
Author

thanks for quick reply

right, its kind of requirements to have both arm64 and x64 if you want to use LibraryManager CLI tool on mac.
Nowadays you cannot use libman without x64 aspnet/LibraryManager#708

So If we have to install alternative architecture, it would be nice to manage architectures too.

Speaking about workaround you proposed. Do you think that if I force remove 7.0.4 it will remove all architectures? Tbh I didn't try it yet.

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

No branches or pull requests

3 participants