LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How can i download Visual Studio On Ubuntu (https://www.linuxquestions.org/questions/linux-desktop-74/how-can-i-download-visual-studio-on-ubuntu-4175735829/)

bekoikc 04-09-2024 05:16 AM

How can i download Visual Studio On Ubuntu
 
Hello dear friends, I used to do programming on Windows before, but I got tired of its restrictive impositions and switched to Ubuntu. Now, I wanted to download Visual Studio (the one purple logo) and write some C# code, but I realized it’s not available on Linux. Can you recommend any programs for writing C# code that work on Linux?

pan64 04-09-2024 05:29 AM

https://code.visualstudio.com/docs/setup/linux

bekoikc 04-09-2024 08:29 AM

I also know this
 
1 Attachment(s)
Quote:

Originally Posted by pan64 (Post 6494963)

Hello, my brother, first of all, thank you. What I meant was this program called https://visualstudio.microsoft.com/tr/ that, as far as I saw on Microsoft’s website, seems to be specific to Windows. Do you know of any other program that performs a similar function to this program?

pan64 04-09-2024 09:00 AM

there are several similar programs available, like eclipse, but would be nice to know what do you want to do with it. Linux is not windows, you cannot run native windows apps, (like MS Visual Studio) on it (and actually this visual studio cannot create native linux apps).
Also probably you need to select another language, not c#. But actually if you wish you can do that. Probably I would start here: https://askubuntu.com/questions/1022...a-linux-system

rclark 04-09-2024 09:40 AM

You can write .net applications on Ubuntu.

For example:

sudo apt update && sudo apt install dotnet7

or if you use snap...

sudo snap install dotnet-sdk --classic --channel=7.0


Pick which .net you want to use dotnet 6, dotnet 7 etc.

No Visual Studio, but at least with a standard editor like geany or kate to create c# apps, or what ever you prefer you, you can compile from the the command-line.

I hardly ever use it, but it can be done. Many other languages out there too c, c++, fortran, python, perl, cobol, java, etc. if needed.

dugan 04-09-2024 12:24 PM

This is one option

https://www.monodevelop.com/

TB0ne 04-09-2024 12:38 PM

Quote:

Originally Posted by bekoikc (Post 6494981)
Hello, my brother, first of all, thank you. What I meant was this program called https://visualstudio.microsoft.com/tr/ that, as far as I saw on Microsoft’s website, seems to be specific to Windows. Do you know of any other program that performs a similar function to this program?

If you click on the link pan64 gave you, at the top you'll see a line that says clearly: "See the Download Visual Studio Code page for a complete list of available installation options."....with a link that takes you here:

https://code.visualstudio.com/download

And further down the page you'll see steps for setting it as your default editor, along with screen-shots of it working. Which is exactly what you asked for. And as stated by others, there are a *LOT* of code editors for Linux, such as KDevelop (for the KDE environment), Eclipse, and others.


All times are GMT -5. The time now is 12:26 PM.