Correction -- Yes, OS X is source compatible, but not binary compatible, with other systems that are designed to the Single UNIX Specification. So, as long as you have access to the source for a given UNIX program, and it is not tailored to a specific variant, the program should compile on OS X.
---------- Post updated at 10:33 PM ---------- Previous update was at 07:16 PM ----------
Quote:
Originally Posted by
michellemc
Hi. I'm new to Unix and recently received Unix files via email. I downloaded those files but am unable to open them on my computer which uses Mac OS X. How do I open the files?
Pardon me for the late help. But if you know that the files that you received by e-mail are text documents, then you can open them with any of the GUI tools that are available on OS X, such as TextEdit or TextWrangler.
If the files are UNIX programs (executable files), then you can put them into /usr/local/bin, or one of the folders that store UNIX binaries, so that you can type the file name into Terminal and have it run automatically. So, the first thing to do is to find out what kind of files you received, and then you will be able to find out what to do with them.
I replied earlier, but I think my message got trashed! OS X is a compliant UNIX system, and can run any standard UNIX programs. However, binaries are very specific to the kind of hardware/operating system that you are running. To get UNIX software to run properly on OS X, you need to download the source code for the program, and compile/build it on your system, so that the proper binary files can be created. You compile UNIX source code with XCode, it is a free development tool that you can download from the Mac App Store. Open the App Store on your computer, and type "XCode" in the Search box. You will see a blue icon with a hammer, click on that icon and you will be able tr download XCode. It is a fairly large application, so it may take some time to download.
I hope this helps!
--Daniel