{"id":52368,"date":"2026-11-18T12:59:34","date_gmt":"2026-11-18T12:59:34","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=52368"},"modified":"2026-11-18T12:59:34","modified_gmt":"2026-11-18T12:59:34","slug":"how-to-install-net-11-via-ppa-in-ubuntu-26-04-24-04-22-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/11\/how-to-install-net-11-via-ppa-in-ubuntu-26-04-24-04-22-04\/","title":{"rendered":"How to Install .NET 11 via PPA in Ubuntu 26.04, 24.04, 22.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44743\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/dotnet-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Microsoft announced the release of .NET 11 in last week. Here&#8217;s how to install it in current Ubuntu 26.04, Ubuntu 24.04, and Ubuntu 22.04 LTS via PPA.<\/p>\n<p>.NET 11 is a Standard Term Support (STS) release with two years <b>support until November 2028<\/b>. It&#8217;s already available in Ubuntu 26.10&#8217;s repository, while, the 3 LTS releases can install it through PPA, Snap, or official tarball.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52369\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/about-dotnet11-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/about-dotnet11-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/about-dotnet11-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/about-dotnet11.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>New features in .NET 11 include:<\/p>\n<ul>\n<li>Introduce C# 15 union types and closed hierarchies.<\/li>\n<li>Improve .NET CLI startup and MSBuild performance.<\/li>\n<li>Add asynchronous validation, OpenAPI 3.2 support, and new Blazor and SignalR capabilities to ASP.NET Core.<\/li>\n<li>Expand AI application development support with Microsoft.Extensions.AI, MCP, and Microsoft Agent Framework.<\/li>\n<li>Introduce new AI-assisted development tools, including .NET Skills and .NET MAUI DevFlow.<\/li>\n<li>Make CoreCLR the default runtime for .NET MAUI and improves XAML development.<\/li>\n<li>Add Zstandard compression, enhanced JSON support, and other improvements to the standard libraries.<\/li>\n<\/ul>\n<p>See the <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/announcing-dotnet-11\/\" target=\"_blank\" rel=\"noopener\">announcement<\/a> for more about .NET 11.<\/p>\n<h3>Install .NET 11 from PPA<\/h3>\n<p>.NET 11 is available in Ubuntu&#8217;s App Center (or Ubuntu Software) through Snap package, which however runs in sandbox environment. Microsoft also provides Linux packages through <a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/11.0\" target=\"_blank\" rel=\"noopener\">portable tarballs<\/a>.<\/p>\n<p>If you prefer the native <code>.deb<\/code> package, then the official <a href=\"https:\/\/launchpad.net\/~dotnet\/+archive\/ubuntu\/backports\" target=\"_blank\" rel=\"noopener\">.NET backports PPA<\/a> is the best choice.<\/p>\n<p><b>To add the PPA<\/b>, press <code>Ctrl+Alt+T<\/code> on keyboard to launch a terminal window and run command:<\/p>\n<pre>sudo add-apt-repository ppa:dotnet\/backports<\/pre>\n<p><i>Type user password (no asterisk feedback) when it asks and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52370\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet-backports-ppa-700x502.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet-backports-ppa-700x502.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet-backports-ppa-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet-backports-ppa-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet-backports-ppa.webp 812w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>Next, refresh cache<\/b> if you follow this tutorial on Linux Mint. While, Ubuntu now does it automatically after adding a PPA:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>Finally, install .NET deb package<\/b> by running command:<\/p>\n<pre>sudo apt install dotnet11<\/pre>\n<p>This command will install both the SDK and run-times, while you may replace <code>dotnet11<\/code> with <code>dotnet-sdk-11.0<\/code>, <code>aspnetcore-runtime-11.0<\/code>, or <code>dotnet-runtime-11.0<\/code> to install only the sdk or runtime as you prefer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51858\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/apt-dotnetpreview11-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/apt-dotnetpreview11-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/apt-dotnetpreview11-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/apt-dotnetpreview11.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>If you also have .NET 10 or older versions installed on your system, then you have multiple .NET SDK or run-times. To check them, use command:<\/p>\n<pre>dotnet --list-runtimes &amp;&amp; dotnet --list-sdks<\/pre>\n<p>In the case, you may either choose a runtime via command <code>dotnet -r &lt;RUNTIME_IDENTIFIER&gt;<\/code> or select SDK by using <code>global.json<\/code> file.<\/p>\n<pre>{\r\n      \"sdk\": {\r\n        \"version\": \"11.0.100\"\r\n      }\r\n    }<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-52371\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet10and11-700x474.webp\" alt=\"\" width=\"610\" height=\"413\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet10and11-700x474.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet10and11-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/11\/dotnet10and11.webp 769w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Uninstall:<\/h3>\n<p>To uninstall the .NET 11 deb package installed from PPA, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>sudo apt remove --autoremove dotnet11 aspnetcore-runtime-11.0 dotnet-runtime-11.0 dotnet-sdk-11.0<\/pre>\n<p>Then, remove the PPA repository either by &#8220;Software &amp; Updates&#8221; utility under &#8220;Other Software&#8221; tab (for Ubuntu 24.04 and earlier), or by running command below in terminal:<\/p>\n<pre>sudo add-apt-repository --remove ppa:dotnet\/backports<\/pre>\n<p>For Linux Mint, either use <code>Software Sources<\/code> to remove PPA, or run <code>sudo apt update<\/code> afterward to refresh cache.<\/p>","protected":false},"excerpt":{"rendered":"<p>Microsoft announced the release of .NET 11 in last week. Here&#8217;s how to install it in current Ubuntu 26.04, Ubuntu 24.04, and Ubuntu 22.04 LTS via PPA. .NET 11 is a Standard Term Support (STS) release with two years support until November 2028. It&#8217;s already available in Ubuntu 26.10&#8217;s repository, while, the 3 LTS releases [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":44743,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2090,2086],"class_list":["post-52368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-microsoft","tag-programming"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=52368"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/52368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44743"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=52368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=52368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=52368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}