Skip to content

Instantly share code, notes, and snippets.

@danielm
Created December 6, 2024 17:40
Show Gist options
  • Select an option

  • Save danielm/b4f2ae2f7c9536ca556e1060318401bd to your computer and use it in GitHub Desktop.

Select an option

Save danielm/b4f2ae2f7c9536ca556e1060318401bd to your computer and use it in GitHub Desktop.
DOTNET_FILE="dotnet-sdk-8.0.404-linux-x64.tar.gz"
# <<< .config/.profile
export DOTNET_ROOT="$HOME/.dotnet"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# >>>
# Dependencies
sudo pacman -Sy glibc gcc krb5 icu openssl libc++ zlib
# Extract files to desination folder
mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"
# <<< .config/.profile
export PATH="$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools"
# >>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment