You are not logged in.
Pages: 1
Ok this is not #! but linux question.
slackware linux.
I replaced firefox by copying the new updated tar file into the same OLD directory then the last time I did this I found the answer on the net to chmod +s some directory -- but this time with a new install of Linux I forgot what directory that pointed to. So, then did something other things instead. As I could not find that answer I found telling me what to do that last time.
I unlinked it from /usr/bin/ the orgianl place it is installed is in /usr/lib64/firefox/firefox/ and it was linked to /usr/bin/ but I have no idea how to fix it. I got a link to it in /usr/bin again it even shows the directory with that little arrow on it letting one know it is a link on it. Like it was before I unlinked it before hand.
ln -fs /usr/lib64/firefox/firefox/ /usr/bin/firefox
but it still tells me i do not have permission even in root to run it even from the command line.
bash-4.2# firefox
bash: firefox: command not found
bash-4.2# /usr/bin/firefox/firefox
but if I go to it in a file manager and double click it then it will start up
this is my $PATH in root where /usr/bin is in my path so what to do now?
bash-4.2# $PATH
bash: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin: No such file or directory
Last edited by userx-bw (2015-06-16 00:18:22)
"How can you learn how to fix it, if you don't break it first? :8
"the only way to get away with murder is - by killing time" swp 1997 8o
"A computer is only as smart as the person using it"
"Just plug it in and see if it blows up, if not then take it apart and figure out how it works."
Offline
^^ OK now that panic mode has past I figured it out --
the link was not to the executable as such
#old link I did wrong
ln -fs /usr/lib64/firefox/firefox/ /usr/bin/firefox
#new link I did right
ln -fs /usr/lib64/firefox/firefox/firefox /usr/bin/firefox
# that last "firefox" being the executable
EDIT
that was my first link I ever did ~
Last edited by userx-bw (2015-06-16 00:38:34)
"How can you learn how to fix it, if you don't break it first? :8
"the only way to get away with murder is - by killing time" swp 1997 8o
"A computer is only as smart as the person using it"
"Just plug it in and see if it blows up, if not then take it apart and figure out how it works."
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat