On Sat, Nov 27, 2010 at 6:08 PM, Kelly Kearney <[email protected]>wrote:

>
>
> Thanks for the info, but I was actually wondering how to run the
> executable.
> Though I can locate it, I'm not sure how to get it to run outside of the
> .app
> package.  Simply trying to issue the "lyx" command in a terminal results in
> a
> command not found error, even when issuing said command from
> /Applications/LyX.app/Contents/MacOS.
>
> Thanks for your patience,
> Kelly
>
>
Oh, that's because that directory isn't part of your PATH, so you have to
tell OS X (or any other Unix-style OS) to run the command in the directory
you're in (your current working directory).

So, when you are in /Applications/LyX.app/Contents/MacOS in the terminal use
this command:

./lyx

(that's a period followed by a slash followed by the name of the executable)

This often trips up people who aren't experienced at the command line. There
are good technical reasons, including security, that the system works this
way. I won't go into them.

-- Rich

Reply via email to