How To Run Mac Programs On Linux

broken image


Jan 25, 2008 GNU/Linux has given me the best thing I've ever wanted, I know this whole entire post sounds corny and overly nerdy, but seriously, GNU/Linux is the best thing I've ever used and learned from. It's a wealth of knowledge, you can learn infinitely, there are no limits to GNU/Linux. To everyone here, keep using GNU/Linux, keep learning. How to install Linux on a Mac: Use virtualisation software. By far the best way to install Linux on a Mac is to use virtualisation software, such as VirtualBox or Parallels Desktop. Aug 29, 2019 The most reliable way to run Mac apps on Linux is through a virtual machine. With a free, open-source hypervisor application like VirtualBox, you can run macOS on a virtual device on your Linux machine. A properly-installed virtualized macOS environment will run all macOS apps without issue.

How To Run Mac Programs On Linux

Skip to end of metadataGo to start of metadata

It is common for users of the Luddy School Linux systems to want to run graphical applications (such as matlab, mathematica, vivado, etc) on these Linux servers and display them on their local computers. This document details the steps required to do this using the IU Research Desktop (RED) as well as alternative options for Mac, Windows, and Linux systems.

The Research Desktop (RED) at IU on the IU Carbonate system is the recommended method of running such graphical programs. This page gives information about how to get started using RED but see the UITS RED KB page for more detailed information.

  1. Create your Carbonate account - In order to use RED you must have a Carbonate account. If you do not yet have an account, go to https://access.iu.edu/Accounts/Create. If you have the option to select that account you will see something like this:
    Please contact us if you do not have the option to create the Carbonate account and you don't already have one (you can list your current accounts at https://access.iu.edu/Accounts).
    When you select the Carbonate account to create, you will be required to fill out the request form that will look like this:
    Just fill that in appropriately based on the work you will be doing. In general, for CS classes or research you can select:
    1. Primary Discipline: Informatics, Library Science, and Computing
    2. Primary Sub-Discipline: Computer Science
    3. Check both 'I will' boxes
    4. You will NOT be accessing FERPA restricted data (if you will, please contact us)

    Once you submit your request, you should get an email within about an hour with the subject Carbonate Account Created indicating the account is ready to go.
  2. Log Into RED - Once the Carbonate account is created, you can log in at:

    When you log in, you should see the RED desktop that will look like this:

    Note that the RED web interface is not the only option, albeit a convenient and easy to use one. You can also use it via the ThinLinc client per Download, install, and configure ThinLinc Client to use Research Desktop (RED) at IU.
  3. Bring up the Terminal Application - From the RED desktop, double-click on the terminal application:
  4. Log into the Desired Server - From the terminal application, you can log into the server of choice by running something like:
    ssh -X silo.sice.indiana.edu

    Replace silo.sice.indiana.edu with the server of choice. The terminal application and ssh will look something like this:

  5. Run the Application - Once you are logged into the linux system of choice (eg. silo) just run the command for the desired application (eg. matlab, vivado, etc) at the terminal prompt and it will be displayed on the RED desktop. For example, if you wanted to run matlab:
    Replace 'matlab' with whatever application you want to run (eg. vivado, emacs, etc).
  6. Log Out or Disconnect - There are two icons on the RED desktop you can use as follows:
    1. Disconnect ThinLinc Session - This keeps your session and applications up and running so you can log in later to reconnect. Please use this only if you need to keep the session active.
    2. Log Out - This will close all running application and end your session entirely. Please note that ThinLinc is a licensed product with a limited number of licenses available. Please be a good citizen and log out when you are done to free resources.
How to run mac programs on linux operating system

For more details about the Research Desktop, a good starting point is the UITS KB page About Research Desktop (RED) at IU.

While we strongly recommend using the Research Desktop (RED) as described above, there are other operating system specific options that you can use.

Mac OS X

  1. Install XQuartz on your Mac, which is the official X server software for Mac
  2. Run Applications > Utilities > XQuartz.app
  3. Right click on the XQuartz icon in the dock and select Applications > Terminal. This should bring up a new xterm terminal windows.

  4. In this xterm windows, ssh into the linux system of your choice using the -X argument (secure X11 forwarding). For example, to log into silo.sice.indiana.edu you would run something like:
    ssh -X username@silo.sice.indiana.edu
    A very small number of applications may require the use of -Y instead of -X but we recommend only using -Y if -X fails for the application you are using.
  5. Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac.
  1. Install the Xming software.
  2. If you have not already done so, download putty.exe from the PuTTY site and install it.
  3. Run Xming on your PC to start the X server. You should see the Xming icon in the taskbar if it is running (although you may have to click the little arrow in the taskbar to see it)
  4. Run PuTTY and set things up as follows:
    - Enter the server name in Host Name (eg. silo.sice.indiana.edu)
    - Make sure the Connection type is set to SSH
    - Enable X11 forwarding (Connection > SSH > X11)
  5. Log in using your normal IU username and passphrase
  6. Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your PC.
  1. ssh into the linux system of your choice using the -Y argument (secure X11 Forwarding). For example, to log into silo.sice.indiana.edu you would run something like:
    ssh -X username@silo.sice.indiana.edu
    A very small number of applications may require the use of -Y instead of -X but we recommend only using -Y if -X fails for the application you are using.
  2. Once you are logged into the remote linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac.

How To Run Mac Programs On Linux Command

It is also possible to run graphical programs remotely using VNC. This is a popular tool that lets you run a VNC server on the remote linux server and connect to it using a VNC client on your local system. There is more information about this option in Using VNC via ssh tunneling.

We do not recommend using this approach and RDP support on the linux systems may disappear at any time. Please consider the Research Desktop (RED) as the long term option.

How To Run Mac Programs On Linux Bootable

The methods listed above are recommended because they put the least amount of load on the servers and should provide adequate performance. However, there is an alternate method using RDP (Remote Desktop) that will work on some of our Linux servers. For those systems you can connect using the native Remote Desktop client (Windows), the Microsoft Remote Desktop App (Mac OS X), or either xfreerdp or rdesktop (Linux). You will get a full GUI desktop using this method so you can start any GUI application you need. The downside of this approach is that since you are running a full GUI desktop it puts much more load on the server and your performance may suffer. For that reason, we urge you to use other options only use RDP as a last resort if those do not work for you.


Darling is a translation layer that lets you run macOS software on Linux

  • Fast

    How to install windows 10 on mac mojave. Darling runs macOS software directly without using a hardware emulator.

  • Free

    Like Linux, Darling is free and open-source software.
    It is developed openly on GitHub and distributed under the GNU GPL license version 3.

  • Compatible How to install vpn client on mac.

    Darling implements a complete Darwin environment. Mach, dyld, launchd — everything you'd expect.

  • Mac high sierra windows. Easy to use

    Darling does most of the setup for you. Sit back and enjoy using your favorite software.

  • Native

    We aim to fully integrate apps running under Darling into the Linux desktop experience by making them look, feel and behave just like native Linux apps.

  • That sounds a lot like Wine

    And it is! Wine lets you run Windows software on Linux, and Darling does the same for macOS software. Another similar project is Anbox, for Android apps.

  • Does it support GUI apps?

    Almost! This took us a lot of time and effort, but we finally have basic experimental support for running simple graphical applications. It requires some special setup for now though, so do not expect it to work out of the box just yet. We're working on this; stay tuned!

  • Does it violate Apple's EULA?

    No! We only directly use those parts of Darwin that are released as fully free software.

  • Does the name Darling mean anything?

    The name Darling is a combination of 'Darwin' and 'Linux'. Darwin is the core operating system macOS and iOS are based on.

  • Can I run Darling on Windows using WSL?

    Unfortunately, no. Darling requires a real Linux kernel to run. See this issue for more details.

  • Do you know about opensource.apple.com, GNUstep, The Cocotron and other projects?

    We do, and in fact, Darling is largely based on the original Darwin source code published by Apple. We use The Cocotron as a basis for our Cocoa implementation, along with the Apportable Foundation and various bits of GNUstep.

  • Do you have plans for supporting iOS apps?

    Yes, in the long run, we'd like to be able to run iOS apps on ARM devices (like most Android phones). A significant challenge here would be to write our own implementation of UIKit. Come talk to us if you're interested in working on this!

  • How do I contribute?

    Start by reading the documentation and our blog to get familiar with Darling internals. Then, come and join us on GitHub. It's great if you have experience in developing for macOS or iOS, but it's absolutely not required to start contributing.





broken image