Write linux code on mac

write linux code on mac

How to write linux code on mac. Cross platform code is another term on write linux code code on mac, or any other system for that matter. There is a few things you need to download and install on your mac before starting writing linux code on mac.

First you need to download and install Mono Develop, or Xamarin Studio as it is called now. Xamarin Studio is a cross platform IDE for .net languages like C# and F#. If you want to program in C/C++ you should check out gcc instead. Xamarin Studio runs on Windows, Linux and OS X. And support most .net languages available today. Xamarin Studio is free and can be downloaded here: http://www.monodevelop.com

Second you need Mono, the cross platform .net framework. Mono project is sponsored by Microsoft, but is free to anyone. You will need this to compile and run your projects written in Xamarin Studio. The cool thing about Mono Project is that you can deploy your programs to most major operating systems. Like Linux, Windows and OS X. As long as they are supported by Mono Project.

To get the Mono Project framework, go to: http://www.mono-project.com

To run your code on a Linux system you need to install Mono Project to the Linux system. This will vary from which Linux Distribution you are using. Debian based, Red Hat based or Suse based. Several of the Linux Distributions have a Mono Project package included in their repository, but rarely the latest. So I recommend going to their site and get it.

That is really the tools you need to write .net programs for Linux on a mac. A framework developed by Microsoft to run for Windows. There are even some community packages of Mono Project out there, even linked on their website. These are usually not tested by Xamarin.

Happy cross coding!

Related Posts

4 Best Free Nas Software That Is Open Source

Free NAS software or operating systems that are free to use and will turn a computer into a NAS more advanced than the dedicated boxes sold. What…

Raspbian default password

Raspbian default password

Looking for the Raspbian default password? It is the most essential username and password that you will need for your raspberry. At least if you are running…

OpenMediaVault default password

OpenMediaVault default password

OpenMediaVault default password is printed in the documentation. I did not see it the first time I installed it either. So I had to do some detective…

Debian change dns

Debian change DNS settings to a new DNS

Debian change DNS settings for speed improvement or privacy. It is really easy to do. So let us see how it’s done and get to it. The…

Upgrade debian 9 to debian 10

Upgrade Debian 9 to Debian 10

Upgrade Debian 9 to Debian 10 is very similar to upgrading previous versions. The only you need to do is change the sources to Buster instead of…

Debian 10 Static IP

Debian 10 Static IP

Debian 10 static IP works just like the previous version. They changed the naming of the network interfaces in Debian 9. However if you have upgraded from…

Leave a Reply