Last active
October 20, 2023 13:58
-
-
Save dviererbe/442b6b217fe3c701c64942a21dda36e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "../../Documentation/json-schema/distro-support-schema.json", | |
"Ubuntu": { | |
"installCommand": "sudo apt-get update && sudo apt-get install -y {0}", | |
"uninstallCommand": "sudo apt-get remove {0}", | |
"updateCommand": "sudo apt-get update && apt-get upgrade -y {0}", | |
"isInstalledCommand": "sudo apt list --installed {0}", | |
"packageLookupCommand": "dpkg -l {0}", | |
"expectedDistroFeedInstallDirectory" : "/usr/lib/dotnet/sdk", | |
"expectedMicrosoftFeedInstallDirectory" : "/usr/bin/dotnet", | |
"installedSDKVersionsCommand": "dotnet --list-sdks", | |
"installedRuntimeVersionsCommand": "dotnet --list-runtimes", | |
"currentInstallationVersionCommand": "dotnet --version", | |
"currentInstallPathCommand" : "which dotnet", | |
"packageNames": { | |
"default": [ | |
{ | |
"version": "6.0", | |
"sdk": "dotnet-sdk-6.0", | |
"runtime": "dotnet-runtime-6.0", | |
"aspnetcore": "aspnetcore-runtime-6.0" | |
}, | |
{ | |
"version": "7.0", | |
"sdk": "dotnet-sdk-7.0", | |
"runtime": "dotnet-runtime-7.0", | |
"aspnetcore": "aspnetcore-runtime-7.0" | |
} | |
] | |
}, | |
"packages": [ | |
{ | |
"version": [ "18.04" ], | |
"dotnet": "default", | |
"preInstallCommands": [ | |
"apt-get update && apt install -y wget", | |
"wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb", | |
"sudo dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb" | |
] | |
}, | |
{ | |
"version": [ "20.04" ], | |
"dotnet": "default", | |
"preInstallCommands": [ | |
"apt-get update && apt install -y wget", | |
"wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb", | |
"sudo dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb" | |
] | |
}, | |
{ | |
"version": { | |
"since": "22.04" | |
}, | |
"dotnet": "default" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment