Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall .NET Core 1.0.0 from mac?

Tags:

.net

I installed .NET Core 1.0.0 on my mac from Microsoft .NET Core Installation Site. I want to uninstall it. I could not find any steps online. Please help.

like image 255
s_svr Avatar asked Jul 25 '16 16:07

s_svr


People also ask

Can I delete Microsoft .NET core?

NET Runtime updates are compatible with the latest major version of the . NET SDKs. This means that you can remove safely the older versions. To remove the unuseful version of the SDKs and runtimes, you can use the dotnet-core-uninstall tool.


1 Answers

There is an uninstall script mentioned in the RC1/RC2 upgrade roadmap document (note that I haven't tried this myself, but this is where I'd start):

Windows

On Windows, simply use the Add/Remove programs in the Control Panel to remove all the previous versions of the .NET Core bits. Please note that we have changed the name that appears in Add/Remove programs from ".NET Core CLI" to ".NET Core SDK"; please use the latter to search for installed versions to remove.

Ubuntu

In order to make life easier, we have created a script for cleaning up all versions of .NET Core from a machine. You can get the script from https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-debian-packages.sh. Please note that this will remove any and all previous versions, which means the machine will be cleaned completely of any .NET Core bits. The script needs elevated privileges, so it needs to be run under sudo.

OS X

In order to make life easier, we have created a script for cleaning up all versions of .NET Core from a machine. You can get the script from https://github.com/dotnet/cli/blob/rel/1.0.0/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh. Please note that this will remove any and all previous versions, which means the machine will be cleaned completely of any .NET Core bits. The script needs elevated privileges, so it needs to be run under sudo.

like image 113
Dirk Vollmar Avatar answered Oct 26 '22 15:10

Dirk Vollmar