dotnet / dotnet/website-feedback
dotnet 10 preview linux installation instructions conflict with dotnet 9 install instructions
- Dominant language
- No language data
- Stars
- 7
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### URL
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-preview.6-linux-x64-binaries
### Browser
brave
### Description
The instructions on for the .NET 10 installation on linux say to put decompress the download to $HOME/dotnet and the .NET 9 installation instructions say to put it in $HOME/.dotnet
.NET 10 Preview install
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-10.0.100-preview.6-linux-x64-binaries
> mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-10.0.100-preview.6.25358.103-linux-x64.tar.gz -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet
.NET Scripted Install instructions
https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#example
> DOTNET_FILE=dotnet-sdk-9.0.100-linux-x64.tar.gz
export DOTNET_ROOT=$(pwd)/.dotnet
mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
Having separate paths for DOTNET_ROOT doesn't allow the dotnet app to find the correct location and --list-sdks doesn't show all sdks.
### Workaround
Use $HOME/.dotnet for all of my installations.
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.