RSS Forums RSS
Please support our Mac tips 'n' tweaks advertiser: Programming Forums
Views: 5149 | Replies: 5
Reply
Join Date: Apr 2006
Location: Canada
Posts: 4,554
Reputation: John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all 
Rep Power: 17
Solved Threads: 284
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

"Apple" Linux.....

  #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 Images
File Type: png Picture 3.png (134.3 KB, 61 views)
tuxation.com - Linux articles, tutorials, and discussions
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 13,370
Reputation: jbennet is just really nice jbennet is just really nice jbennet is just really nice jbennet is just really nice 
Rep Power: 33
Solved Threads: 327
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: "Apple" Linux.....

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,067
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: "Apple" Linux.....

  #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
Reply With Quote  
Join Date: Apr 2006
Location: Canada
Posts: 4,554
Reputation: John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all John A is a name known to all 
Rep Power: 17
Solved Threads: 284
Moderator
Featured Blogger
John A's Avatar
John A John A is offline Offline
Vampirical Moderator

Re: "Apple" Linux.....

  #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/
tuxation.com - Linux articles, tutorials, and discussions
Reply With Quote  
Join Date: Feb 2007
Posts: 5
Reputation: Madd the Sane is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Madd the Sane's Avatar
Madd the Sane Madd the Sane is offline Offline
Newbie Poster

Re: "Apple" Linux.....

  #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  
Join Date: Apr 2007
Posts: 2
Reputation: hezekiahb is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
hezekiahb hezekiahb is offline Offline
Newbie Poster

Re: "Apple" Linux.....

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:54 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC