Thread: Simple question

  1. #1
    ___
    Join Date
    Jun 2003
    Posts
    806

    Simple question

    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.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    For reference, he's using Mandrake.
    Away.

  3. #3
    ___
    Join Date
    Jun 2003
    Posts
    806
    yeah. i just can't figure out why I cant run any programs at all from the xterm.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Originally posted by ZakkWylde969
    yeah. i just can't figure out why I cant run any programs at all from the xterm.
    using "./" ?

  5. #5
    ___
    Join Date
    Jun 2003
    Posts
    806
    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.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  6. #6
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Did you type
    ./nameofinstallfile
    ?

    Or just
    nameofinstallfile
    ?
    Away.

  7. #7
    ___
    Join Date
    Jun 2003
    Posts
    806
    just nameofinstallfile I guess I have to do ./ ?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  8. #8
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Originally posted by ZakkWylde969
    just nameofinstallfile I guess I have to do ./ ?
    fo' sheezy
    Away.

  9. #9
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    think of "./" as the equivelent of a double click in windows. its how you run an executable under linux.

  10. #10
    Registered User PostCode's Avatar
    Join Date
    Jan 2002
    Posts
    12
    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.

  11. #11
    ___
    Join Date
    Jun 2003
    Posts
    806
    alrighty thanks.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  12. #12
    except for in DOS the current directory you are in is part of PATH as well, where as in *nix it isn't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple question regarding variables
    By Flakster in forum C++ Programming
    Replies: 10
    Last Post: 05-18-2005, 08:10 PM
  2. Simple class question
    By 99atlantic in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2005, 11:41 PM
  3. Simple question about pausing program
    By Noid in forum C Programming
    Replies: 14
    Last Post: 04-02-2005, 09:46 AM
  4. simple question.
    By InvariantLoop in forum Windows Programming
    Replies: 4
    Last Post: 01-31-2005, 12:15 PM
  5. simple fgets question
    By theweirdo in forum C Programming
    Replies: 7
    Last Post: 01-27-2002, 06:58 PM