{"id":5272,"date":"2021-03-22T14:30:18","date_gmt":"2021-03-22T14:30:18","guid":{"rendered":"https:\/\/linuxways.net\/?p=5272"},"modified":"2021-03-22T14:30:18","modified_gmt":"2021-03-22T14:30:18","slug":"how-to-install-net-framework-5-on-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-net-framework-5-on-ubuntu-20-04-lts\/","title":{"rendered":"How to Install .Net Framework 5 on Ubuntu 20.04 LTS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>.Net Core is the latest open source innovative framework of Microsoft on top of their propriety .Net Framework 4. .Net Framework is not only industry standard when it comes to developing highly scalable dynamic applications but also several businesses thrived because of .Net Framework.<\/p>\n<p>Due to popularity and out of great demand, Microsoft decided to simplify their overly complex framework and made it open source for the world. Now you too can contribute to the core, therefore, it is called .Net Core Framework for the time being. Since it has been improved and made available for the public to install and download, let us enjoy the fresh release of .Net 5 framework.<\/p>\n<p>In this guide, you\u2019ll learn how to install .Net Core framework, and I\u2019ll help you how to launch your first web app.<\/p>\n<h2>Install .NET Framework on Ubuntu System<\/h2>\n<p>Let\u2019s Do It!<\/p>\n<p>First, grab the simplified deb file to add Microsoft self-hosted repositories using <strong>wget<\/strong> tool.<\/p>\n<pre>wget https:\/\/packages.microsoft.com\/config\/ubuntu\/20.04\/packages-microsoft-prod.deb -O packages-microsoft-prod.deb<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"473\" class=\"wp-image-5273\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-330.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-330.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-330-300x194.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>Once you hit enter, <strong>wget<\/strong> will download a deb file which we will use to fetch a bunch of repositories for our needs and install them.<\/p>\n<pre>sudo dpkg -i packages-microsoft-prod.deb<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"478\" class=\"wp-image-5274\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-331.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-331.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-331-300x196.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>Input your password and CLI will setup the packages for you. Get Ready For The Thrill!<\/p>\n<p>Copy and paste given commands and wait. It might take some time to update and fetch the required files from Microsoft repositories depending on your connectivity speed.<\/p>\n<pre>sudo apt-get update<\/pre>\n<pre>sudo apt-get install -y apt-transport-https &amp;&amp;<\/pre>\n<pre>sudo apt-get update &amp;&amp;<\/pre>\n<pre>sudo apt-get install -y dotnet-sdk-5.0<\/pre>\n<p>Sit back and enjoy the process.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"486\" class=\"wp-image-5275\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-332.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-332.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-332-300x199.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>.Net SDK has been unpacked and installed for you. Dead Simple!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"475\" class=\"wp-image-5276\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-333.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-333.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/03\/word-image-333-300x195.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<h2>Verify an Installation<\/h2>\n<p>Verify your installation using the below command:<\/p>\n<pre>dotnet -\u2013version<\/pre>\n<p>It is not necessary that your version is as same as mine. It simply needs to be v5.<\/p>\n<p>Welcome to .NET!<\/p>\n<p>An unbeatable open-source framework from a great tech giant.<\/p>\n<h2>Conclusion<\/h2>\n<p>Leave your comments below if something didn\u2019t work.<\/p>\n<p>See you soon!<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction .Net Core is the latest open source innovative framework of Microsoft on top of their propriety .Net Framework 4. .Net Framework is not only industry standard when&hellip;<\/p>","protected":false},"author":1,"featured_media":5326,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[237,100],"class_list":["post-5272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-net-framework","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/5272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=5272"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/5272\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/5326"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=5272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=5272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=5272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}