 |
 |
Unix question about Mac OSX
|
 |
|
 |
|
Forum Regular
Join Date: Dec 2003
Location: Tokyo, Japan
Status:
Offline
|
|
Ok, I am still pretty new to the whole Apple thing, I started looking at an powerbook and am thinking about switching. I have one major question about UNIX in OSX. Can I really run just about any Unix application on my powerbook with osx? "e.g. go to freshmeat.net and get a *nix application" and just run it on my powerbook? Also, is the shell just like Unix or is there some subtle differences that I didn’t see while jazzing around with it "I am still very new to Unix, but need to start getting into it for my college major". Overall how is the Unix'ness on OSX.
Again thanks for the help.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status:
Offline
|
|
|
|
|
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status:
Offline
|
|
Okay, first you can't just run any app you find on Freshmeat. At the minimum it would need to be recompiled to run. Like Developer said, fink.sf.net has an awesome package system thats easy to use and powerful.
Now how Unixy is Mac OS X? well, its pretty Unixy. Its not like Linux or Solaris. Linux is based on different DNA than Mac OS X. Solaris is closer is Mac OS X but its still a different beast.
Mac OS X is based on the Mach nanokernel and BSDLite 4.4. Its closest relative is FreeBSD.
So in short, if you are going to do Unix work in college, Mac OS X will serve you well.
Mac OS X's default shell is now bash. In 10.0 to 10.2 it was tcsh.
|
|
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status:
Offline
|
|
As others have said, OS X is very much like Unix, but there are differences, especially with the file structure tree...
If you are trying to learn how to program like a pro, everything is similar, C is the base of all programming (let the other tell you what you want, but it's the springboard to other programming languages).
Shell scripting is very similar.
Compared to Windows, OS X, Linux, Unix, Solaris... all very similar...
Once you get a handle for the command line, it's hard to go back.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Status:
Offline
|
|
In short: You get a 'normal' Unix called Darwin. It's based on BSD 5 so theoretically you can run just about any Unix application in OS X. Of course you can't install any 386-rpms you find on freshmeat.
The ways are either to get the sources and compile and install the applications yourself which is often possible without running into problems, or you get help compiling from systems like opendarwin or fink.
In addition to that there are a number of Unix GUI-applications being ported to Aqua (OS X GUI) as well.
Maybe you would like to read more at http://www.apple.com/macosx/features/unix/. Here on MacNN is also an Unix forum.
I find the unixness great. All I miss is a better standard for package managing, but it will come, sooner or later.
-
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status:
Offline
|
|
I've used SunOS, Solaris and HP-UX. I wouldn't trade my Panther for any of them. The Unixness is legit no fraud or wannabe. Even X11 looks better and works great!

|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2003
Status:
Offline
|
|
I have to agree with DaGuy. There's nothing "fake" about OS X. It's basically a BSD type unix, however you want to cut it up at the end fo the day, if you have the developer tools installed you can go and get almost any software and compile it and run it.
Just like a linux binary (pre-compiled) will not run on solaris, same thing with BSD, so you do have to compile and most autoconfig (./configure) scripts even recognize "darwin/PPC/OS X" now.
I've been a sysadmin on solaris/HP and other BSDs for 10 years now and just like DaGuy I wouldn't trade my panther for anything. It's the basis for all my other work on unix-type systems.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|