942,788 Members | Top Members by Rank

Ad:
Aug 5th, 2006
0

"Apple" Linux.....

Expand Post »
Hey everyone, isn't Mac OS X great? The only problem is that a lot of open-source software is only for Linux. Well, there will never be an end-all solution, but there's many ways of making it better.

Here are the solutions I recommend:

- Dual-booting Mac OS X and Linux (or triple-boot, in the case of Windows)
- Using Fink or Darwin Ports to provide an application-compatibility layer to Mac OS X

Dual-booting Mac OS X and Linux is, admitedly, not the easiest thing to do. Partitioning is relatively easy, with the help of the command-line diskutil to dynamically resize the HFS+ partition, and make a ext partition. However, drivers are difficult, and an attempt to install Ubuntu on my Macbook just didn't work. I ended up using Gentoo Minimal disk, which worked quite nice, except that I somehow couldn't get X to use my native resolution (1280x800), even with the help of 915resolution.

The second option is much easier. Fink and Darwin Ports (fink.sourceforge.net, and www.darwinports.com, respectively) have special patches and tools to get standard Linux packages to compile on Mac OS X. Fink typically creates a whole Debian subsystem in the /sw directory, and Darwin Ports installs its files in /opt. Fink is larger than Darwin Ports, but using them together allows more compatiblity with other apps.

Several things to note, though:

The best way to use Fink and Darwin ports is to use Apple's X11. This can optionally be installed when you're installing Mac OS X. NOTE: If you install XFree86 with Fink or Darwin ports, you will mess up your existing X11 setup. The only way to restore it, is to wipe the drive, and reinstall OS X.

Using Fink to install KDE on Intel Macs requires a little hack. KDE source for Intel Macs is listed under the Fink package database as unstable. By default, Fink only searches source listed under stable. The Fink FAQ provides a nice workaround.

You can install KDE or Gnome, and run it at the same time as Mac OS X. With Apple's X11, you can choose rootless or fullscreen mode, to get the best of both worlds. See screenshot below.
Attached Thumbnails
Click image for larger version

Name:	Picture 3.png
Views:	660
Size:	134.3 KB
ID:	2241  
Last edited by John A; Aug 5th, 2006 at 1:05 am.
Similar Threads
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Aug 29th, 2006
0

Re: "Apple" Linux.....

Question:

BSD can run Linux apps right?
Why cant apple implement this under OSX?
Last edited by jbennet; Aug 29th, 2006 at 6:50 pm.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 573
Moderator
jbennet is offline Offline
16,481 posts
since Apr 2005
Aug 29th, 2006
0

Re: "Apple" Linux.....

To run linux apps in BSD, they would need to be recompiled. You could do the same with Mac OS.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Aug 29th, 2006
1

Re: "Apple" Linux.....

Click to Expand / Collapse  Quote originally posted by cscgal ...
To run linux apps in BSD, they would need to be recompiled. You could do the same with Mac OS.
Yes, that's true. The reason we need Fink or DarwinPorts, though, it because Linux apps need to be *slightly* modified to compile under BSD (OS X).

You can also recompile Mac OS X's kernel (Intel only):
http://kernel.macosforge.org/
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Feb 2nd, 2007
0

Re: "Apple" Linux.....

Using Fink to install KDE on Intel Macs requires a little hack. KDE source for Intel Macs is listed under the Fink package database as unstable. By default, Fink only searches source listed under stable. The Fink FAQ provides a nice workaround.
As with all things open source, progress has been made. KDE is now in the Stable branch of Fink.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Madd the Sane is offline Offline
5 posts
since Feb 2007
Apr 26th, 2007
0

Re: "Apple" Linux.....

As with all things open source, progress has been made. KDE is now in the Stable branch of Fink.
It appears to also be stable under darwinports as well, I didn't seem to have any issues installing it on an Intel MacBook Pro.

Sadly though gnome is another story, the darwinports version seems riddled with issues. I attmepted to use fink but it too had seperate issues.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hezekiahb is offline Offline
2 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Mac tips 'n' tweaks Forum Timeline: 10.3.9 'Save As' option workaround?
Next Thread in Mac tips 'n' tweaks Forum Timeline: General Tips for Mac OS X





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC