Skip to content

Commit

Permalink
Update .net sdk 8.0 commands for AL2
Browse files Browse the repository at this point in the history
  • Loading branch information
mchadalavada committed Mar 13, 2024
1 parent f2b0534 commit 599556d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Docs/docs/getstarted/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,18 @@ P currently uses the specific version of [.Net SDK 8.0](https://dotnet.microsoft

=== "Amazon Linux"

Installing .Net SDK on Amazon Linux ([details](https://aws.amazon.com/blogs/dotnet/net-8-support-on-aws/))

```shell
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/37/prod.repo
sudo dnf install -y dotnet-sdk-8.0
dotnet --version > /tmp/dotnet-version
wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh -c 8.0 -i ~/.dotnet

# If using a bash shell, replace .zshrc_profile with .bash_profile in the below commands
echo 'PATH=$HOME/.dotnet:$HOME/.dotnet/tools:$PATH' >> ~/.zshrc_profile
echo 'export PATH' >> ~/.zshrc_profile
source ~/.zshrc_profile

sudo mkdir /usr/share/dotnet/
sudo cp -r ~/.dotnet/* /usr/share/dotnet/
```

=== "Windows"
Expand Down

0 comments on commit 599556d

Please sign in to comment.