Simple question [Archive] - C Board

PDA

View Full Version : Simple question


ZakkWylde969
09-20-2003, 04:13 PM
This should be simple. I'm trying to install a shockwave plugin and I've already extracted it. how do I get it to run the installer from the directory? I cant seem to get that workin.

confuted
09-20-2003, 04:19 PM
For reference, he's using Mandrake.

ZakkWylde969
09-20-2003, 04:49 PM
yeah. i just can't figure out why I cant run any programs at all from the xterm.

Perspective
09-20-2003, 06:48 PM
Originally posted by ZakkWylde969
yeah. i just can't figure out why I cant run any programs at all from the xterm.

using "./" ?

ZakkWylde969
09-20-2003, 07:37 PM
Yeah. Like I would unpack the Shockwave files and I would go into that directory and i would try to run the install file by typing out the name and it wouldn't work. It's a little different that what I'm used to.

confuted
09-20-2003, 08:54 PM
Did you type
./nameofinstallfile
?

Or just
nameofinstallfile
?

ZakkWylde969
09-21-2003, 06:49 AM
just nameofinstallfile I guess I have to do ./ ?

confuted
09-21-2003, 12:23 PM
Originally posted by ZakkWylde969
just nameofinstallfile I guess I have to do ./ ?

fo' sheezy

Perspective
09-21-2003, 03:07 PM
think of "./" as the equivelent of a double click in windows. its how you run an executable under linux.

PostCode
09-21-2003, 03:48 PM
Actually, I'd have to say it's more like DOS than Windows. If the directory is in your PATH then it'll execute, otherwise you'll have to use the ./ in front of the executable file name in a directory that is not within your PATH.

Very similar to the old DOS PATH within the autoexec.bat file.

ZakkWylde969
09-21-2003, 05:07 PM
alrighty thanks.

frenchfry164
09-21-2003, 07:16 PM
except for in DOS the current directory you are in is part of PATH as well, where as in *nix it isn't.