-
Notifications
You must be signed in to change notification settings - Fork 94
Description
There has been some feedback given to the docs about issues installing .NET on Linux. dotnet/docs#23035
Looking at some information, it seems that the scripts are possibly installing dotnet into the hidden ~/.dotnet
folder, which it probably shouldn't. I believe this folder is used for the global tools and package resolution (among other things).
Here are the paths used when you install via the package manager on Ubuntu:
item | path |
---|---|
dotnet command | /usr/bin/dotnet |
dotnet install folder | /usr/share/dotnet/ |
dotnet data folder | $HOME/.dotnet/ |
I think the bash script should install to /usr/share/dotnet/
(or some env variable that points to /user/share/
?? I'm not familiar enough with linux) or at least point to something other than .dotnet
such as $HOME/dotnet/
(notice I removed the period)
The manual instructions (I'm the author of the article) do in fact point to $HOME/dotnet
and I took those off the download site as the information was migrated to docs.