Quote:
-bash: alternatives: command not found
|
This is saying your shell (bash) couldn't find a location for a command named "alternatives".
Possible reasons for this:
1) The path where the command exists is not in your PATH variable.
2) The command is not on your system.
3) The command is on your system but doesn't have execute bit set so isn't recongized as an executable.
To find where the command is:
find / -name alternatives
The above should print out the full directory for this command (e.g. /usr/local/bin/alternatives).
You would then type "echo $PATH" and see if that path (e.g. /usr/local/bin) appears in the output separated by colons from other paths in the variable. If not you can append it to the PATH variable by typing "PATH=$PATH:/usr/local/bin" (/usr/local/bin is ONLY an example - you'd substitute whatever path alternatives was found in here).
If find does NOT show alternative then you need to install whatever package includes the command - go to rpmfind.net to locate this.
If the command IS found and IS in PATH then its likely number 3. You need to make it executable with the chmod command.