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!

About Author

Related Posts

php8 gd

PHP8 gd Activate after installation

PHP8 GD activate after installation. GD doesn’t get activated by default. Not even a reboot after installation will activate it. So how do we do it? In…

Debian 12: linux-image-6.1.0-10amd64

Troubleshooting dependency issues in Debian 12: Resolving linux-image-6.1.0-10amd64 package dependency problems. If you installed the Debian 12 from the live image the issue is the raspi-firmware. Even…

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…

Leave a Reply