Forums | MacLife
You are not logged in.
#1 2002-12-31 4:45 pm
n00b Linux Question
Ok..I have NO knowledge of Linux. My question is this...I have seen several programs/games ported from Windows to Linux ( Im assuming because its a reliable platform?) and I wanted to know if these would run on my Mac if it was running Yellow Dog Linux? For example..I noticed that some people had a port of Ultima Online for Linux, would it be able to run on my computer or are programs still dependent on PPC/x86 CPU's?
Mu Zein literally means <BR>"Nothing Good"<P>The Fremen Dictionary
Offline
#2 2002-12-31 10:09 pm
- smd3
- Member
- Registered: 2002-10-24
- Posts: 385
Re: n00b Linux Question
Ideally you could get the source and compile it to run on your Mac. Things don't always work out perfectly like that though. Some times there can be changes that need to be made. Compiling something from source isn't a task for someone new to *nix.
EDIT:
Let me make this a little less complicated. Programs are still processor dependent and you can't use a program for say Intel and run in on a G4. If you had the source it may compile, but could very well need some modification as well.
Offline
#4 2003-01-01 5:48 pm
- Buzzword
- Member
- From: college, ny
- Registered: 1999-03-21
- Posts: 7255
Re: n00b Linux Question
No, wait, not at all! As you said, every once in a while a program comes along that has some weird problems. For most programs, however, compiling by source is a piece of cake if you do it by rote.
1) Extract the directory from the file you download (most are done by "tar -xzvf filename.tgz")
2) cd to that directory
3) type "./configure", wait for stuff to stop spewing out and your prompt to come back
4) type "make", wait again
5) type "su", and then your root password when it asks for it
6) type "make install"
These instructions are also usually in a file called "INSTALL" that's included with most programs that are distributed as source. It's a good idea to look at that file before you install something, just in case there's some special directions.
Again, it won't work for everything, but it works for most. Sometimes it'll complain about a dependancy, in which case you just need to go to google, find that program/library, and do that ./configure, make, su, make install for it before you do it for your main program.
Just another CitiBank hacker...
Offline
