[opensuse] path invalid, /usr/games
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have installed bsd-games, but cannot add the executable directory to PATH, . PATH=$PATH:/usr/games I get /usr/games: No such file or directory and rpm -i --relocate /usr/games=/usr/local/games bsd-games-2.13-364.x86_64.rpm will not work what to do? tks, - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn4472 (GNU/Linux) iD8DBQFHDCMJClSjbQz1U5oRAp4CAJ44j4MmUS2KaziqaTMPwZl5NhjchwCeI0QA qmj6pDXv3ezkOiBk6+SzBlI= =K871 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 09 October 2007 17:55, Patrick Shanahan wrote:
I have installed bsd-games, but cannot add the executable directory to PATH, . PATH=$PATH:/usr/games
Why is there a dot / period there? That's the shorthand for the "source" command. You're telling the shell to read and execute commands from the argument (in this case, "PATH=$PATH:/usr/games"). Secondly, the diagnostic seems nonsensical. Even if the PATH variable were not set or set to an empty value, the diagnostic should have been: PATH=:/usr/games: No such file or directory All in all, I cannot make sense of what you report.
... Patrick Shanahan
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Randall R Schulz
All in all, I cannot make sense of what you report.
you are correct. proper s/b: export PATH=$PATH:/usr/games tested and works. tks for the head jolt :^) - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn4472 (GNU/Linux) iD8DBQFHDEHEClSjbQz1U5oRAmlBAKCwkLgTUJp2dp2jqLwMg120ODfnEQCeK8k6 2CjJ0FzCN3O0+YClMXqFEqc= =NZjH -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Patrick Shanahan
-
Randall R Schulz