image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 25th, 2005, 10:35 AM
Registered User
 
Join Date: Jun 2005
Location: London, UK.
Posts: 278
Thanks: 0
Thanked 0 Times in 0 Posts
boyfarrell is on a distinguished road
Confusion: Unix, Linux and X11

Hello everyone,

I know that there are various ways to get open-source unix apps running on macOS by using fink or darwinports.

But can Linux apps be installed just a easily?

Also, how does X11 fit into this whole thing. Does X11 have a connection with Linux?

Daniel.
Reply With Quote
  #2  
Old October 25th, 2005, 12:16 PM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,022
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
Linux apps *are* open-source Unix apps. Linux is an open-source Unix kernel. People often confuse Linux with the entire operating system, which it isn't.

X11 is a windowing system that dates back a fair way, and is found on a variety of Unix systems, including both open-source ones like Linux and closed-source ones like AIX and Sun Solaris. Mac OS X uses a new windowing system called "Aqua", but it also fully supports the ability to run X11 programs alongside your regular Aqua ones.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old October 25th, 2005, 08:15 PM
Registered User
 
Join Date: Jun 2005
Location: London, UK.
Posts: 278
Thanks: 0
Thanked 0 Times in 0 Posts
boyfarrell is on a distinguished road
So, there is no distiction. I guess because og GCC if you have 'Linux' code you can bring it over to your mac and get a working application - it can't tell the difference, it's just code!

Is it possible then to run a Linux app on MacOS.

For example, at work we have a copy of MATLAB of Linux lying around somewhere, can I install that (we have a group licence etc)? Is a Linux application automatically a Mac app?

X11 is a windowing system hey ... getting a bit stuck there. To me it look just like the terminal. I've never managed to get it doing any window stuff, just command line. But would it be fair to say that, it's one possible way people can run applications on Linux and Mac with no tweeking required to there code; just a build on the desired system?
Reply With Quote
  #4  
Old October 25th, 2005, 08:44 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,904
Thanks: 2
Thanked 61 Times in 57 Posts
ElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura about
In order for a Linux application to run on Mac OS X, you have to have access to the source code of the program so you can re-compile it to run under Darwin (the Unix underpinnings of Mac OS X) on a PPC processor -- you can't just take a pre-compiled Linux binary and run it on Mac OS X.

In order for you to see windows in X11, you must have a windowing application running. If you want to see a sample windowing application that uses X11, try out The Gimp -- it's a free image editing program, much like PhotoShop:

http://gimp-app.sourceforge.net/

"Windowing" doesn't mean Finder-like navigational windows. It means that if you choose to write a program that needs to display and manipulate windows, the X11 environment will provide you with libraries that make it easier to do so:

http://www.apple.com/macosx/features/x11/
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 03:28 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.