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

" The default location on Linux and macOS is /usr/local/share/dotnet" #34703

Closed
SomeoneElseOSM opened this issue Mar 23, 2023 · 1 comment · Fixed by #34834
Closed

" The default location on Linux and macOS is /usr/local/share/dotnet" #34703

SomeoneElseOSM opened this issue Mar 23, 2023 · 1 comment · Fixed by #34834
Assignees
Labels
cli/subsvc doc-enhancement Improve the current content [org][type][category] dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest.

Comments

@SomeoneElseOSM
Copy link

SomeoneElseOSM commented Mar 23, 2023

I suspect that this may vary by OS. On Ubuntu 22.04 (installed in WSL), using dotnet from the MS 22.04 rather than the ubuntu repository, the default seems to be "/usr/share/dotnet".

I think that the default Ubuntu packages may set "DOTNET_ROOT=/usr/lib/dotnet", which is different again; I noticed that e.v. was set and was causing a problem when moving from Ubuntu 22.04 versions of .NET packages to MS' 22.04 versions.

See also discussion at dotnet/core#7699 and dotnet/runtime#79237 . The e.v. was set via dotnet.sh in /etc/profile.d; my guess is that it was when I installed something that used .NET a couple of months ago. See especially dotnet/runtime#79237 (comment) , but for the purposes of the documentation here it'd be great to give enough information to locate it, maybe even as simple as "locate host/fxr".


Document details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 81749

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Mar 23, 2023
@issues-automation issues-automation bot added dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 labels Mar 23, 2023
@tdykstra tdykstra self-assigned this Mar 30, 2023
@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label Mar 30, 2023
@tdykstra tdykstra removed the ⌚ Not Triaged Not triaged label Mar 30, 2023
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Mar 30, 2023
@tdykstra tdykstra added 🗺️ reQUEST Triggers an issue to be imported into Quest. doc-enhancement Improve the current content [org][type][category] labels Mar 30, 2023
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label Mar 30, 2023
@tdykstra tdykstra moved this from 🔖 Ready to 🏗 In progress in dotnet/docs March 2023 sprint Mar 30, 2023
@github-actions github-actions bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Mar 31, 2023
@tdykstra
Copy link
Contributor

@SomeoneElseOSM Thanks for these suggestions. I'm editing the description in the article to be more accurate and provide links to helpful resources.

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in dotnet/docs March 2023 sprint Mar 31, 2023
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli/subsvc doc-enhancement Improve the current content [org][type][category] dotnet-fundamentals/svc Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants