Adding firefox to the PATH
I have a very trivial question, really i'm a bit ashamed not to be able to make that work.
I want to add firefox to the path, so that writing "firefox" in command-line will be enough to run the program.
Firefox is installed, on my computer, in the folder /bin/firefox-installer/ (yeah, weird location, true)
I first ran "export PATH=$PATH:/bin/firefox-installer" (I tried as root, or as single user)
Then I tried, maybe in fact we didn't add folders but commands to the bash path :
[sabin@mna75-3-82-66-231-163 ~]$ firefox
bash: firefox: command not found
Then I tried to create a symbolic link for firefox in a directory where the path worked : in the firefox folder, I ran
"ln -s firefox /bin".
Running just "firefox" gave the usual error message, but running ./firefox produced another error message :
bash: ./firefox: Too many levels of symbolic links
So i'm tired today, I guess I won't find until i have a good rest (be it in three days, pity I spoiled my break not managing to add firefox to pah <_<) i'll give up.
What may I have done wrong in this ?
Please, if you're nice, explain a slightly ashamed newbie what he should have done in order to be able to add firefox to the system-recognized apps ^_^