{"id":2392,"date":"2022-03-11T15:56:19","date_gmt":"2022-03-11T07:56:19","guid":{"rendered":"https:\/\/guerilla.ddns.net\/wp\/?p=2392"},"modified":"2025-08-24T23:00:40","modified_gmt":"2025-08-24T15:00:40","slug":"%e5%9c%a8-fedora-%e4%b8%8a%e5%ae%89%e8%a3%9d-net-sdk-%e6%88%96-net-%e5%9f%b7%e8%a1%8c%e6%99%82%e9%96%93","status":"publish","type":"post","link":"https:\/\/guerilla.ddns.net\/wp\/?p=2392","title":{"rendered":"\u5728 Fedora \u4e0a\u5b89\u88dd .NET SDK \u6216 .NET \u57f7\u884c\u6642\u9593"},"content":{"rendered":"<p>\u5982\u679c\u60a8\u5df2\u5b89\u88dd SDK \u6216\u57f7\u884c\u6642\u9593\uff0c\u8acb\u4f7f\u7528 <\/p>\n<pre><code class=\"language-bash\" data-line=\"\">dotnet --list-sdks<\/code><\/pre>\n<p> \u548c <\/p>\n<pre><code class=\"language-bash\" data-line=\"\">dotnet --list-runtimes<\/code><\/pre>\n<p> \u547d\u4ee4\u4f86\u67e5\u770b\u5df2\u5b89\u88dd\u7684\u7248\u672c\u3002<\/p>\n<h3>\u5b89\u88dd .NET 6 SDK<\/h3>\n<p>.NET SDK \u53ef\u7528\u4f86\u958b\u767c .NET \u61c9\u7528\u7a0b\u5f0f\uff0c\u82e5\u8981\u5b89\u88dd .NET SDK\uff0c\u8acb\u57f7\u884c\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo dnf install dotnet-sdk-6.0<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3>\u5b89\u88dd .NET 6 \u57f7\u884c\u968e\u6bb5<\/h3>\n<p>\u5982\u679c\u6709\u5b89\u88dd .NET SDK\uff0c\u5c31\u4e0d\u9700\u8981\u5b89\u88dd\u5c0d\u61c9\u7684\u57f7\u884c\u6642\u9593\u3002<br \/>\n&nbsp;<br \/>\n\u4e0b\u5217\u547d\u4ee4\u6703\u5b89\u88dd ASP.NET Core \u57f7\u884c\u6642\u9593\uff1a<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo dnf install aspnetcore-runtime-6.0<\/code><\/pre>\n<p>&nbsp;<br \/>\n\u6216\u662f\u5b89\u88dd .NET \u57f7\u884c\u6642\u9593\uff0c\u4f46\u4e0d\u5305\u62ec ASP.NET Core \u652f\u63f4\uff1a<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo dnf install dotnet-runtime-6.0<\/code><\/pre>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\nsource: <a href=\"https:\/\/docs.microsoft.com\/en-us\/dotnet\/core\/install\/linux-fedora\" target=\"_blank\" rel=\"noopener\">\u5728 Fedora \u4e0a\u5b89\u88dd .NET SDK \u6216 .NET \u57f7\u884c\u6642\u9593<\/a><br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n#.net #dotnet #fedora<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u60a8\u5df2\u5b89\u88dd SDK \u6216\u57f7\u884c\u6642\u9593\uff0c\u8acb\u4f7f\u7528 dotnet &#8211;list-sdks \u548c dotnet &#8211;list [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[],"class_list":["post-2392","post","type-post","status-publish","format-standard","hentry","category-infotech"],"_links":{"self":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2392"}],"version-history":[{"count":5,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2392\/revisions"}],"predecessor-version":[{"id":3479,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2392\/revisions\/3479"}],"wp:attachment":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}