"Apple" Linux.....

Reply

Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

"Apple" Linux.....

 
0
  #1
Aug 5th, 2006
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.
Last edited by John A; Aug 5th, 2006 at 1:05 am.
Attached Thumbnails
Picture 3.png  
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,224
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 538
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is online now Online
Moderator

Re: "Apple" Linux.....

 
0
  #2
Aug 29th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,043
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: "Apple" Linux.....

 
0
  #3
Aug 29th, 2006
To run linux apps in BSD, they would need to be recompiled. You could do the same with Mac OS.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: "Apple" Linux.....

 
1
  #4
Aug 29th, 2006
Originally Posted by cscgal View Post
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/
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 5
Reputation: Madd the Sane is an unknown quantity at this point 
Solved Threads: 0
Madd the Sane's Avatar
Madd the Sane Madd the Sane is offline Offline
Newbie Poster

Re: "Apple" Linux.....

 
0
  #5
Feb 2nd, 2007
Originally Posted by joeprogrammer View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 2
Reputation: hezekiahb is an unknown quantity at this point 
Solved Threads: 0
hezekiahb hezekiahb is offline Offline
Newbie Poster

Re: "Apple" Linux.....

 
0
  #6
Apr 26th, 2007
Originally Posted by Madd the Sane View Post
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Mac tips 'n' tweaks Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC