How to Install .NET on Linux? Last Updated : 10 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report .NET is a free, cross-platform, open-source developer platform for building many different types of applications.With .NET you can build various kinds of applications including :Web ApplicationMobile AppsDesktop AppsGamesIOTYou can write .NET apps in one of the following languages : C#F#Visual basicDownloading and Installation on Linux:.NET can be downloaded from its official website and can be installed with the help of the following steps:Step 1: Add the package repository to download it by running the following command : wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.debsudo dpkg -i packages-microsoft-prod.debrm packages-microsoft-prod.debStep 2: Now install .NET SDK with this command:sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y dotnet-sdk-6.0Optional Step: This is an optional step to install the runtime, but you don't need to install it if you have .NET SDK previously installedsudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y aspnetcore-runtime-6.0To verify the installation run the following command to check the version of the .NET SDK and runtimesdotnet --list-sdksdotnet --list-runtimes Comment More infoAdvertise with us Next Article How to Install Tor on Linux? A aniruddhashriwant Follow Improve Article Tags : How To Installation Guide how-to-install Similar Reads How to Install Node.js on Linux Installing Node.js on a Linux-based operating system can vary slightly depending on your distribution. This guide will walk you through various methods to install Node.js and npm (Node Package Manager) on Linux, whether using Ubuntu, Debian, or other distributions.PrerequisitesA Linux System: such a 6 min read How to Install Node.js on Linux Installing Node.js on a Linux-based operating system can vary slightly depending on your distribution. This guide will walk you through various methods to install Node.js and npm (Node Package Manager) on Linux, whether using Ubuntu, Debian, or other distributions.PrerequisitesA Linux System: such a 6 min read How to Install Netbeans on a Linux NetBeans is an open-source Integrated Development Environment (IDE) primarily for Java programming, but it also supports various other programming languages. It is used to develop mobile applications, desktop applications, and web applications. This guide will help you install NetBeans on a Linux sy 4 min read How to Install Tor on Linux? Tor browser is a web browser that is designed and developed to protect your privacy online and is mostly famous among normal people as a key for safely accessing hidden or restricted online resources, including those on the dark web. We will see what Tor is and how to install it on your Linux machin 5 min read How to Install Numpy on Linux? Python NumPy is a general-purpose array processing package that provides tools for handling n-dimensional arrays. It provides various computing tools such as comprehensive mathematical functions, linear algebra routines. NumPy provides both the flexibility of Python and the speed of well-optimized c 2 min read How to Install ntopng in Linux? ntopng is an Open Source Tool to monitor the network. It is a security network monitoring tool, also monitors web activities passively. It is also used for packet capturing, Traffic Recording, and Network Probing. A huge number of companies like Google, HP, Cisco, IBM, and many more uses ntop. It ac 2 min read Like