{"id":51852,"date":"2026-08-15T16:04:28","date_gmt":"2026-08-15T16:04:28","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51852"},"modified":"2026-08-15T16:04:28","modified_gmt":"2026-08-15T16:04:28","slug":"how-to-install-net-11-preview-so-far-in-ubuntu-via-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/08\/how-to-install-net-11-preview-so-far-in-ubuntu-via-ppa\/","title":{"rendered":"How to Install .NET 11 (Preview so far) in Ubuntu via PPA"},"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>This tutorial shows how to install the latest .NET 11.0.0 (preview so far) runtime and\/or SDK in Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04 via DEB package.<\/p>\n<p>Version 11 of Microsoft&#8217;s open-source .NET developer platform is currently in preview. The final release is expected in November 2026.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51854\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-about-700x507.webp\" alt=\"\" width=\"610\" height=\"442\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-about-700x507.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-about-300x217.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-about.webp 727w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>.NET 11 is primarily a performance and developer-experience release, with particularly significant work on async execution, JIT\/AOT optimization, SIMD, networking, JSON, testing, and C# 15.<\/p>\n<p>Microsoft provides a <a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/core\/whats-new\/dotnet-11\/overview\" target=\"_blank\" rel=\"noopener\">what&#8217;s new page<\/a> for detailed changes about .NET 11, as well as the <a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/11.0\" target=\"_blank\" rel=\"noopener\">official packages<\/a> for Linux, Windows, and macOS.<\/p>\n<p>For Linux, it&#8217;s portable tarball that includes executable file and runtime libraries.<\/p>\n<p>Without manually set up environment variables, Ubuntu user may also choose install the <a href=\"https:\/\/snapcraft.io\/dotnet\" target=\"_blank\" rel=\"noopener\">snap package<\/a> in edge channel from App Center (or Ubuntu Software).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51855\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-snap-700x439.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-snap-700x439.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-snap-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-snap-768x481.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet11-snap.webp 1181w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>For those who prefer the native <b>.deb<\/b> package, here&#8217;s also an <a href=\"https:\/\/launchpad.net\/~dotnet\/+archive\/ubuntu\/previews\" target=\"_blank\" rel=\"noopener\">&#8220;official&#8221; PPA<\/a> available for choice.<\/p>\n<p>The PPA is maintained by the developer who is behind the official Ubuntu-provided .NET packages (both snap and deb). And, it so far support Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04 and the upcoming Ubuntu 26.10.<\/p>\n<h3>Install .NET 11 Preview from PPA<\/h3>\n<p><b>NOTE: .NET 11 is so far available for testing purpose. It&#8217;s NOT ready for production use!<\/b><\/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\/previews<\/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-51857\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnetpreview-ppa2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnetpreview-ppa2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnetpreview-ppa2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnetpreview-ppa2604.webp 702w\" 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 SDK or run-times. To check them, use command:<\/p>\n<pre>dotnet --list-runtimes &amp;&amp; dotnet --list-sdks<\/pre>\n<p>Then you may choose a runtime via <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\": \"10.0.10\"\r\n      }\r\n    }<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51859\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet-listmulti-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet-listmulti-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet-listmulti-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/dotnet-listmulti.webp 702w\" 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\/previews<\/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>This tutorial shows how to install the latest .NET 11.0.0 (preview so far) runtime and\/or SDK in Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04 via DEB package. Version 11 of Microsoft&#8217;s open-source .NET developer platform is currently in preview. The final release is expected in November 2026.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-51852","post","type-post","status-publish","format-standard","hentry","category-howtos"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51852","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=51852"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51852\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}