Install Mac Software On Linux

1/31/2018by

I have the urge to commit my 24' Core 2 Duo iMac to a single Linux operating system, thus giving up the goodness of my beloved Mac OS X. I am not a stranger to Linux, but I am a stranger to running Mac apps on Linux. On my PowerPC I can use SheepShaver to run Classic apps. The Mac-on-Linux project can run OS X apps, but it requires a PowerPC, not an x86. Virtualizing and emulating are inefficient, especially given the wonderful results the WINE project has had in getting Windows apps to run on Linux.

What I would like is an equivalent: a software compatibility layer that will allow Linux to run Mac OS X apps at native performance. I believe there is some additional complexity in accomplishing this. Mac OS X apps aren't just Mac OS X apps.

Installing Software on Linux. One of the most difficult things to get used to in the Linux world is installing new software packages. On a Mac a package is a.

They are Carbon. They are Cocoa.

They are universal binaries. They are PPC code with Altivec. Does such a project exist yet? If not, why not?

Wine is an open source implementation of the Windows API, though it can use Microsoft dlls if you supply them. I'm operating under the assumption that Cocoa and Carbon use Unix APIs at some level, since they sit on top of a Unix core. So as Wine is an implementation of the Win32 API, the Win32 API is just a fairly low-level API that lets you make windows and buttons and pull-down menus, access the filesystem, access task and memory management, etc., but if you want any of the niceties of newer Windows applications, like toolbars, reconfigurable menus, fancy controls, Windows media, etc., you need Windows/Microsoft DLLs that aren't a core part of the Win32 API proper. Sure, Wine provides open source implementations of some of these, but in most cases you need them provided from the application or from a copy of Windows. The analogy is not quite the same, with Cocoa and Carbon, but I think you get my point.

Carbon is a sort of bizarre chimera library, which was intended to provide a compatible set of APIs between classic Mac OS and Mac OS X. So that once OS X was on the way, you could carbonize an app under Classic and have it just work on OS X. Brilliant idea, but it means Carbon isn't a close relative of anything. It's a huge library and framework (since it spanned multiple operating systems), and would basically have to be engineered from scratch. In contrast, Cocoa is what used to be OPENSTEP; it's just. A wine-like system for OSX would actually be a lot easier to accomplish.

There is already something iBCS, which lets Linux run binaries from other x86 unix-like systems (SCO, Xenix etc. Old stuff), and various BSD's have the ability to execute Linux binaries. You only need to emulate the kernel interfaces, and then the user mode programs/libraries should run atop a Linux kernel just like they run on OSX's existing kernel. Then you can begin reimplementing the proprietary libraries one by one. Those libraries which are BSD licensed you can directly port the source. All in all, a much easier job than wine. Wine doesn't really emulate Windows libraries, it runs them directly.

Install Mac Software On LinuxInstall Mac Software On Linux

Wine implements the Windows API. Wine does not use any software from Microsoft. Windows programs are just run with the Wine implementation instead of the Microsoft implementation. The Cocoa API is based on the OpenStep API, which has a [gnustep.org].

We've had a FOSS implementation of the OpenStep API for years: GNUstep. GNUstep has even implemented some of the Cocoa additions. Producing a Cocoa compatibility layer should be much easier than producing a Windows compatibility layer. Producing a Cocoa compatibility layer should be much easier than producing a Windows compatibility layer. There are a few more things required than just GNUstep.

GNUstep gives source compatibility and is now fairly good at reading nib files. In order to run OS X pure-Cocoa applications you would also need a Mach-O binary loader. Linux uses ELF as the format for binaries, and so the loader can not start and link OS X applications.

Next you would need to compile the Apple (NeXT) Objective-C runtime library on Linux. This is pretty easy (the code is ASPL), but currently GNUstep has problems running with the NeXT libobjc (it uses the GNU one by default). If you did this, you could run applications that just used Cocoa. Unfortunately, a lot of OS X applications also use Carbon. There is no open source version of Carbon, although a few people have written GNUstep wrappers for the parts of Carbon which are toll-free bridged with Cocoa.

You would also not be able to run anything that depends on WebKit (unless you use GNUstep's SimpleWebKit as a stop-gap), QuickTime, or any of a number of other frameworks that have not yet been added to GNUstep. WINE has had a lot of time and effort put into it because there are a huge number of proprietary Windows-only applications that would be useful on other platforms already deployed. There are far fewer essential applications for the Mac (90%+ of computer users don't use any OS X apps, after all), and so no one has bothered. For the few apps that would be worth supporting, it is probably easier to re-write them from scratch than it is to write a general purpose compatibility layer. I have some reasons it may be a worthwile project: 1) OSX uses OpenGL, so 3D may be easier to port.

2) With Creative Suite many of the profeessional grade apps people want are available on OSX (In fact at this point, I think that is a bigger show stopper than Office). 3) Since it is POSIX it may be easier to do (I don't really know, probably not much easier though). 4) The fact that both Linux and OSX use CUPS to print could help with output. Some disadvantages are that it is a faster moving target than Windows. All I want is iTunes compatibility.

Sure, I can sync my ipod with Amarok or RythmBox, but I haven't found anything that works well for syncing video and I can't purchase music from the store. The kicker is, I would probably purchase LOTS more music if I had a solid linux port. This will probably not happen in the near future, though. I think Apple is afraid that a linux port would get reverse-engineered and their DRM would be cracked in a week. But with their apparent success in locking down the iPhone, I find that unlikely. That probably could have been stated better! I believe the question is what is each good for?

If free is a goal, then why not run Linux as an OS? But, why on Apple hardware, not that the cost is bad nowadays compared with the 'general' hardware quality and design if that's your thing. If you need OS X applications, why not run Linux through Parallels or some VM? If Linux is your primary OS, use BootCamp to allow access to OS X. These approaches make sense depending upon your needs. Want access to everything. I'm in the same situation.

For 99% of what I do, MacOSX is a flaky pain in the neck. I'd love to be able to confine MacOSX to a window. Here is my background: I've run *nix on the desktop for roughly 17 years.

Last year, after we had a baby and I had essentially no time, I finally got tired of maintaining my system, and thought the 'just works' aspect of MacOSX might be a nice change. I've been running 10.4.x on my Core 2 Duo iMac since last October. I've found that after more than a decade and a half of being able to customize my desktop behavior, I just can't adjust to the MacOSX gui. I hate the menu bar at the top, I hate not being able to define *MY* hotkeys for resize, move, and iconify, I miss the easy X11 1-click cut and 1-click paste, etc.

To get around some of this, I run most of my shells via xterm. However, X locks solid every few weeks (usually when I scroll too much or too fast in some window). I also find that the only MacOSX application I ever use is iTunes. I started out using Mail and Safari, but I moved back to Thunderbird and Firefox for the plugins.

Specifically, the external editor plugin for Thunderbird so that I can edit messages in xemacs, and the noscript and adbplockplus extensions for Thunderbird. I also hate that my 4 USBserial connectors are flaky, and have to be re-plugged before they'll all show up on boot. Neither Linux nor FreeBSD had this problem. At any rate, how is the codeweavers support for playing iTunes videos? That's really the only thing I use iTunes for is video. Run X11 (found in the Utility folder in the Applications folder). Run it in take over the screen mode.

Or replace the window manager with your choice. Take the linux apps you love. Build them on the mac. Minor fixes may be needed, far less than recreating OS X on Linux. Use any number of the guides to slim down OS X to the bare minimum foot print. Enjoy your Linux-lite experience on your nice iMac and get all the benefits of optimized drivers for the hardware.

Set your environment up so that at login. I do - and I would if I could get 3D accelerated ATI Radeon 9200 drivers for Linux running on a PPC Mac Mini. My biggest gripe is Finder.

Another gripe is the lack of GUI themes. Another gripe is the creation of hidden dot files on removable storage used on other operating systems. Next, the slowdown of the OS from 10.4 to 10.4.10 (I have reinstalled twice during that time). I do digg the clarity of the fonts, and zooming in with Ctrl and Scroll wheel.

I just dont want it to be my primary OS at home anymore. Mac OS X apps aren't just Mac OS X apps. They are Carbon.

They are Cocoa. They are universal binaries.

They are PPC code with Altivec. Does such a project exist yet? If not, why not? I think you answered your own question.

Mac apps are very complex due to all of the mechanisms they use to maintain backward compatibility. Reimplementing all of those libraries is a huge task. Wine exists as a reimplementation of Win32 and DirectX strictly out of necessity, but there is little need to run Mac apps in Linux. Most people who want to run Mac apps prefer to run them on Apple hardware. Seeing that you already own an iMac, I think the bigger question is why are you so insistent on running Linux on your Mac?

Seeing that you already own an iMac, I think the bigger question is why are you so insistent on running Linux on your Mac? Funny, i asked myself the same thing. Last summer I was a few months in to my Linux transition on my desktop and I decided I wanted to find a cheap laptop to sit on my couch with and browse the internet as I watched tv.

I thought I was going to run Linux on the laptop too, and I ended up with an old PPC powerbook that had OSX on it. I already knew that OSX was built upon BSD and the. Seeing that you already own an iMac, I think the bigger question is why are you so insistent on running Linux on your Mac? I was wondering the same thing.

I love linux, but I see no advantage of running it on my iMac. Linux runs great headless on cheap hardware, and OS X has X11, NFS, a great terminal application _AND_ it runs OS X apps. I leave my iMac on 24/7, and its power management spins down the harddisk and turns off the monitor.

All of the software to hardware stuff like my bluetooth keyboard and. That was going to by my question. Most FOSS Linux applications are available for OS/X, just install fink and maybe the Xwindows server. If you really want to run Linux then you have Parallels as an option to run a Linux instance on Mac OS/X. OS/X looks like a great OS that offers a really nice GUI with a nice stable Unix foundation.

Unless OS/X compatibility becomes a real issue for Linux users I doubt that you will see the effort needed to make an OS/X Wine-like system. It is an itch that not enough peop.

That's a good question. For me, my move from OS X to Linux is motivated by several reasons. Portability OSX runs on Apple Hardware. It can be hacked, sure, to run on some non-Apple systems, but widescale hardware compatibility is lacking (just look at the difficulties in getting a GeForce 8x00 series card running). With Linux, I have a much wider choice of hardware vendors.

Flexibility Linux gives me a lot more control over my OS. While this is pointless for 90% of users, for me, it is very nice to be able to custom compile a kernel with the options I need, recompile any given app for the characteristics I need, and so on. I can enable, disable, theme, customize, and otherwise hack my environment to suit my needs much more easily than in OS X.

Security OSX is pretty good, but I'm a little worried at Apple's highly negative response to security concerns (anyone remember the wireless driver exploit fiasco?). Also Linux offers some features that OSX doesn't currently offer, such as MAC. 10.5 is supposed to have MAC, but I can't find any info on it. While both systems are good, I perceive the Linux market as responding more credibly to security issues. Software Ecosystem OSX software is great.

However, Linux offers me a great deal more choice, and that choice tends to be much more configurable to my needs. While I love the Cocoa API and what it allows apps to do, Linux is catching on fast, and I find that good GNOME or KDE apps perform most, if not all, the functionality I care about in OSX, while being beer free, and offering me more choices (i.e. Anjuta, Geany, Eclipse, KDevelop vs XCode, Eclipse). There's also a lot of software I like to use that aren't available on OSX yet. I'm starting to learn CUDA, for example, and that is not yet offered for OSX. Also, VMWare workstation offers some nice features targeted at developers (such as host-to-VM project deployment & debugging) which I haven't seen offered yet on OSX.

Usability I know a lot of people disagree with this, but I find a lot of OSX's UI broken, at least for how I use my system. I find the window management to be frustrating, the Dock to be very limited, and the lack of decent app launching & management to be very frustrating (although QS does manage to solve app launching in a pretty nice way). GNOME's clean usability and massive customization have allowed me to create a Linux system that I actually find to be more usable for me than OSX. I guess I could summarize all of that by one word: choice. For my needs and uses, I find the flexibility of Linux far more convenient. If OSX's behaviors work well for you, and you are happy with Apple's hardware offerings, then you have the choice of OS X instead!

Isn't freedom of choice a great feeling? If ideological reasons were the basis for wanting to run Linux on a Mac, then that is a half-assed conversion. Take an expensive, proprietary machine just to put a free OS on it? A better idea would be to sell the Mac (especially since they hold value so well) and build a PC from parts.

That is more ideal, as it makes the hardware a bit more free as well. And financially it makes a lot more sense.

I don't see any other good reason to do the conversion except for ideology. Maya Jaya Tv Serial Cast. I own a couple of Macs, and a c.

Some people like to buy a package of hardware known to work together well. The beauty of the hardware market as it stands, is that we do have that choice. The biggest problem people have with proprietary software is that most of it tries to prevent people having that same choice over software. Laptops are also much harder to build from bare components. I'm advocating choice in all areas. So long as it has no effect on me (the prevalence of proprietary protocols/formats does) i don't care what other people.

Well today is your lucky day!! My special lawnmower, which I call Asta La Vista, and it has allot of 'special' features which kind of stops someone from stealing it. Admittably these features makes it super slow moving, and most of the time prevent you from actually mowing the lawn. Also, it has an engine the size of your Diablo just to idle, but it definitely is a lawnmower and it definitely does sometime actually cut grass sometimes. Another great feature is that it has a really great paint job tha. Mac OS X has a subsystem based on BSD, and it uses it for some system tasks and to present a POSIX runtime environment. It's only a very small part of the system and rather a second citizen.

Let's not even talk about their X11 support, which is pretty unpleasant to use for anything but the basics. Only a Mac zealot is likely to tell you it's just a 'better unix than unix'. Real unix users tend to cry when trying to use it, especially since half the man pages are outdated and completely wrong because Apple ch. Does such a project exist yet?

If not, why not? • There's not much demand for it. • Most commercial Mac software exists in Windows, so you can run the Windows versions under WINE in Linux. • Most people who buy a Mac are even less inclined to tinker than a typical Windows user, and therefore much less likely to switch to Linux. • Every Apple computer extends the [folklore.org] to the computer user, ensuring lifelong devotion to the product. I haven't a clue why it doesn't affect you this way. It's a fair bet the real answer is one or all of those.

I will never understand why someone would buy a $2000 iMac and negate the entire reason for purchasing from Apple -- to run Mac OS X. You can run Linux for a lot less money, you know.

Honestly though, Mac OS X really isn't that bad -- in fact, I think it's pretty nice, especially if you come from a Linux background. You do realize that you can run pretty much any Linux app (as long as it doesn't do any funky OS-specific things) natively on Mac OS X, right? You could even run a full-fledged Linux installation via Parallels if you so desire.

Or is the main issue that you're one of those people who gets the 'heebie-jeebies' at the thought of running software that isn't open source? In that case, my advice is to get a life -- it's just software! The world won't end if you run a piece of non-free code! I will never understand why someone would buy a $2000 iMac and negate the entire reason for purchasing from Apple -- to run Mac OS X. The word 'never' is a reliable marker for silly thinking. OS X is not the sole reason for buying Apple hardware. Some Apple hardware is very nice.

The Mac Mini is a great little computer, period; I run Linux and Windows on mine. I have never owned an iMac, but I assume that the Intel generation hardware offers no obstacles (except Apple Bluetooth for non-XP Windows). Although I like OS X and think it's better than Windows, it isn't perfect. The Finder in OS X leaves.DS_STORE droppings everywhere.

Personally I wouldn't buy an Apple desktop, because I would built my own PC. Buying a laptop would be a different matter however. If you buy a laptop you are pretty much buying an operating system too. I would much rather buy a UNIX based OS which, if some bit of hardware doesn't quite work right under Linux, which is ofter quite likely with a laptop, I can get to work on the supported OS and not have to run Windows to do it. I would really like to be able to get some (self-compiled) OS X command line applica.

Is your best bet right now. I am not sure if OS X can be properly virtualized, since it seems to check whether you are running it on Apple hardware - of course, if you are going to use an iMac, then you are indeed using Apple hardware, but it doesn't seem so to the OS. You'd need to use a hacked version I guess - oh the irony! If you asked me, I would advise the contrary: run Linux in a virtual environment under OS X. Less trouble to get it running, no need to use hacked versions, and there is a good possibility that features such as Coherence from Parallels or the equivalent in VMWare Fusion might be available for Linux guests someday. Let's see- you take your unix kernel, build a fully rewritten, GL-optimized X Windows system.

Solidify your GNUStep libraries until they're fully compatible with cocoa- Then be certain you're only running systems with SSE3 or above, since all the intel binaries are optimized for that. Whoops- also gotta build a compatible CoreAudio system. Oh no, looks like you're now Apple. If you're using Mac OS X, you're already using a NeXT compatibility layer on top of a streamlined X and a really high end specialized desktop unix.

The question is- why are you trying to run linux? You're using a much higher end unix system that supports X11 and has a full BSD layer, with package managers available. Why don't you just run linux apps in OS X? Making an OS X 'compatibility layer' would essentially just require you to create a shoddy set of OS X libraries- something Apple's already done better. Take advantage of your resources. Let me repeat this - OS X is a 'mac compatibility layer' running on top of a unix kernel already- it's a totally insane waste of time to re-implement it. If you're that interested in making OS X, you should work for Apple.

I'm not fond of the idea myself, as I suspect it'd never work well. Apple's OS is also a fast moving target and maintaining compatibility would be a nightmare.

I don't buy the 'why not run Linux apps on Mac OS X' line though. Apple's X11 is a second citizen that is very poorly integrated into the UI, slow, and clumsy to use. They don't have to be, but Apple hasn't been too enthusiastic about improving X11 support. X11 apps are much easier to use on a native X11 desktop (obviously) and if they're most of what. Because currently you can only buy that Mac compatibility layer from one place.

If Apple goes bankrupt, or drops it, then your left out in the cold. Similarly if Apple don't move it in the directions you want, then your stuck.

(think very cheap lowend hardware, or very tiny laptops) I run Kismac, it's a very nice wireless sniffer similar to Kismet on Linux, but graphical and with good gps integration including downloadable maps. I would like to run this on a tablet or a PDA, but Apple don't make such devices, so i have to run Kismet instead (text based) and then import the data into a mapping program later. If OSX is so 'beloved' to you, why on earth would you want to commit to using Linux instead? Honestly, at least on beige box PCs you have the excuse that your choices are limited to Windows and Linux, but you have a tightly integrated, beautiful looking and perfectly working operating system which you want to chuck for.some reason.

What can't you do on OSX than you can on Linux? If you want to tinker, why not grab Bochs, QEMU or even better Parallels Desktop and run Linux in that? I understand the appeal o. I was just thinking about this coming back from lunch. OS X has become the pragmatic choice of many sysadmins simply because it is the best of both worlds: you get a GUI OS on (generally) reliable hardware that will run Microsoft Office (if you must) but also has a full command line interface that will run most Unix tools without any fiddling. Part of OS X's success is wholly due to this, and the Linux/FOSS community has responded by making the Linux front end more Mac-like with Compiz, Beryl and Etoile. In short, you aren't going to gain anything by running Linux, except some nebulous feeling of self-satisfaction about something or other, and you are going to lose an awful lot.

Running Windows on a Mac makes the Baby Jesus cry; running Linux exclusively gives him slight heartburn. I know this is really stating the obvious, but it comes down to this, market share. Windows has a large market share, and therefore has a large amount of developers building applications. There is also a lot of work done on WINE by CodeWeavers and Cedega, these are builds of WINE that are commecially supported for applications and gaming respectively. (Not to take anything away done by others on WINE, but these people are contributors as well) The real reason that these companies exist, is that there isn't THAT much of a demand for Mac apps on Linux. There is a large demand for Windows apps on Linux because there are so many Windows developers and subsequently applications that run on Windows. That's why we have WINE.

It would be possible I guess to do Carbon and Cocoa on Linux, re-implement the APIs, but for the amount of applications that there are on Mac that aren't on Windows, there isn't much point. If Apple opensourced Carbon and Cocoa (Not likely) then I guess they would get ported to Linux by someone, but till then, someone isn't going to do this as the amount of developers out there just isn't high enough. There isn't the interest. Some of my thoughts, in no particular order: - The Officially Sanctioned API (TM) for OS X apps is Cocoa. This is basically an extension of OpenStep. So is [gnustep.org].

GNUStep even aims to implement Cocoa's extensions so as to allow Cocoa apps to be linked with GNUStep. However, for the time being, compatibility is incomplete and only at the source level. You might have some luck compiling GNUStep apps on Cocoa/OSX, but not running compiled Cocoa apps on GNUStep/Linux.

- Some people tried to get Darwin binary compatibiltiy into [netbsd.org]. However, [hcpnet.free.fr], purportedly due to lack of user interest. This is the only Darwin binary compatibility project I am aware of. What this means is that, at the moment, you can only run Darwin (AKA OS X) executables on Darwin. - [bellard.free.fr] is a fast and open source emulator that can be used to emulate, among others, x86 PCs, AMD64 PCs, and Power Macs.

This should allow you to run OS X as a guest OS. If you use QEMU to emulate an x86 on an x86, or an x86 or AMD64 on AMD64, it should run close to native speed. That is, as far as the CPU is concerned.

Other hardware, graphics hardware in particular, will not have native performance. - I've been a GNU/Linux user for over ten years. I also used Mac OS X for a couple of years. Eventually, I got frustrated with it and installed Linux on my iBook.

I've never looked back. Of course, I am primarily a GNU/Linux and BSD user, which causes the little (sometimes significant) oddities of OS X to frustrate me. If you're primarily an OS X user, this will likely work the other way around.

- GNU/Linux does have some definite advantages over OS X. Just throwing down a few: more customizability, easier maintenance (given a decent package manager, such as apt-get), better compatibility with open-source software, and several possible advantages that depend on your choices: lower memory usage, lower latency, lower disk usage.

- Given that you have a Mac, OS X also has some advantages over GNU/Linux. Among others: it supports your hardware (what you get from Apple, anyway; Linux has the edge when it comes to third-party hardware), companies are more likely to support it (think software, hardware, and manuals), and.

Well, can't think of anything more right now. - As for why there is no compatibility layer yet: probably just because it's a monumental task. Think about how old [winehq.com] is and how well it works. Then think about Apple's yearly OS upgrades. Then consider that Apple has also moved architectures (PPC ->x86) since the introduction of OS X, and probably will again (x86 ->AMD64 - they ship that hardware, but the OS is still at least mostly x86). Then look at GNUStep and the instructions for building it (you're allowed to shiver at this point). A Mac OS X compatibility layer won't happen anytime soon.

If not, why not? Because it's a terrible, terrible idea. The Mac software stack is *large*, with API compatibility going back 20 years. 3 full-size APIs are supported (bsd, carbon, and cocoa), and they're all constantly being improved by apple. Any such project, while also being an absurd waste of time, could never catch up.

Not to mention all the GPU stuff they're doing these days, integrated into the window server (Quartz Extreme, CoreAnimation, etc.). Feel like extending X11 to get decent performance?

I don't, and neither does anyone else. You've already gone past the hurdle that keeps most from using Linux: buying a Mac. If you want all the linux software, just download port from [macports.org] and let it download prebuilt binaries of traditionally linux applications for your mac. The website is crap but the tool's good and the repository is active and well maintained. They run just like the linux side, only you don't have to start hating your life by using Linux as your desktop OS.

Switching back from OS X to Linux is about as painful as shoving a screwdriver in your eye. There's no point. Some corrections: * Parallels/VMWare aren't emulating anything.

They're using newish x86 instructions to let the system run 2 OS's simultaneously * Ever consider recompiling? I mean, it's called open source for a reason. Also, if you're gonna tinker, consider Solaris. It's free and Parallels supports it with nice X11 extensions for mouse sharing, etc. Also, it's BrandZ lets you run Linux binaries. Christopher Mcdougall Urodzeni Biegacze Pdf Creator.

A better bet would be virtualization, given the realities of market share and the amount of time such a compatibility effort would take for relatively poor results. The Mac platform is also such a moving target that any such layer would be outdated by the time it was even close to working. Unfortunately, Apple don't want to you run their precious OS in a virtual container. They want to force you to do everything else in a virtual container instead. They won't sell you a license to their OS for user in a virt.

Comments are closed.