Skip to content

AL2023 Linux failed to install DotNet 10 on manual attempt #678

@genifycom

Description

@genifycom

Using AL2023 in WSL

NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023.9.20250929"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/amazon-linux-2023/"
DOCUMENTATION_URL="https://docs.aws.amazon.com/linux/"
SUPPORT_URL="https://aws.amazon.com/premiumsupport/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
VENDOR_NAME="AWS"
VENDOR_URL="https://aws.amazon.com/"
SUPPORT_END="2029-06-30"

First tried these instructions https://learn.microsoft.com/en-us/dotnet/core/install/linux-fedora?tabs=dotnet10

sudo dnf install dotnet-sdk-10.0
Last metadata expiration check: 0:25:01 ago on Sun Dec 14 20:35:48 2025.
No match for argument: dotnet-sdk-10.0
Error: Unable to find a match: dotnet-sdk-10.0

So next tried manual approach using these instructions https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual

wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --version latest

Result is:

dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.101/dotnet-sdk-10.0.101-linux-x64.tar.gz
dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.101/dotnet-sdk-10.0.101-linux-x64.tar.gz size is 239025495 bytes.
dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.101/dotnet-sdk-10.0.101-linux-x64.tar.gz
./dotnet-install.sh: line 1056: find: command not found
./dotnet-install.sh: line 1057: find: command not found
dotnet-install: Downloaded file size is 239025495 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet_install: Error: Failed to verify the version of installed .NET Core SDK.
Installation source: https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.101/dotnet-sdk-10.0.101-linux-x64.tar.gz.
Installation location: /root/.dotnet.
Report the bug at https://github.com/dotnet/install-scripts/issues.
dotnet_install: Error: .NET Core SDK with version = 10.0.101 failed to install with an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions