LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mozilla installer worked -verify? (https://www.linuxquestions.org/questions/linux-newbie-8/mozilla-installer-worked-verify-309637/)

cjae 04-04-2005 11:32 AM

mozilla installer worked -verify?
 
Hi, Thanks to all who helped me with the installer for mozilla. I believe I got it installed, I had to use the sux command instead of just su to contact the x server. I was also told to use the command xhost +localhost; what does this do?

I had explored to the default dir for mozilla and confirmed it has been placed there, but I do not see it in my "start" menu. I also tried to type the mozilla command into the run box and it said. "Could not run specified command."

Is there a updatedb command I must run in order to use mozilla?

__J 04-04-2005 11:39 AM

did you compile it or use the mozilla installer?

cjae 04-04-2005 12:07 PM

installer

__J 04-04-2005 12:22 PM

you will not get an menu entry for that, you will have to create it. as for running it, you need to know where you installed it. Lets say you installed it to /usr/local/mozilla. inside /usr/local/mozilla there is a script called "mozilla" - this is the one you need to run. To set it up in your PATH do ( as root):

ln -s <path to mozilla script> /usr/local/bin/mozilla

so in our example above you would type:


ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla

after that is completed you can run mozilla by just typing mozilla at the command line. When you add a menu entry for it, the icons are usually inside the installer directory, in the above example /usr/local/mozilla/icons ( or could be pixmaps instead of icons). Since you already set your PATH to include mozilla, for the menu entry the command field just needs to contain "mozilla".

cjae 04-04-2005 04:23 PM

Hi, Thanks for the reply, what does ln do? Mozilla now runs from the command line, but there is no shortcut for it in the Kmenu, I think you told me how to do this, but I am lost.

cjae@linux:/usr/local/mozilla/icons> ls
mozicon16.xpm mozicon50.xpm

__J 04-05-2005 05:51 AM

ln creates links ( which come in two flavors - hard and soft. see "man ln" for details) ln -s creates a soft link between two items. if you execute the following in a console, perhaps it will be more clear:

Code:

ls -l /lib | grep libc
NOTE: the following is from my system, yours may differ
ls -l /lib/ | grep libc
-rwxr-xr-x 1 root root 1357414 2005-01-29 01:01 libc-2.3.4.so*
lrwxrwxrwx 1 root root 13 2005-03-26 03:09 libc.so.6 -> libc-2.3.4.so*
-rwxr-xr-x 1 root root 191040 2005-01-29 01:01 libcidn-2.3.4.so*
lrwxrwxrwx 1 root root 16 2005-03-26 03:10 libcidn.so.1 -> libcidn-2.3.4.so*
lrwxrwxrwx 1 root root 17 2005-03-26 03:06 libcom_err.so.2 -> libcom_err.so.2.1*
-rwxr-xr-x 1 root root 6264 2004-04-12 01:40 libcom_err.so.2.1*
-rwxr-xr-x 1 root root 25168 2005-01-29 01:01 libcrypt-2.3.4.so*
lrwxrwxrwx 1 root root 17 2005-03-26 03:09 libcrypt.so.1 -> libcrypt-2.3.4.so*


the ones with -> are soft links, all they do is point to something. so take libc.so.6, it points back to libc-2.3.4.so - note that there is no "actual" libc.so.6 on my system, just a link named libc.so.6 ( which, if any program request libc.so.6, the program will find the libc.so.6 which points directly to libc-2.3.4.so ( which is what the program will use)).

as far as adding your icon, this depends on what you are running (kde, gnome, other?) generally, all you have to fill in is the name, command ( in this case the command is just mozilla), and (optionally) choose the icon you want associated with it. for a desktop launcher, you will want the 50 size icon. for a menu, choose the smaller one (mozicon16.xpm)

cjae 04-05-2005 04:18 PM

I use KDE


All times are GMT -5. The time now is 03:57 AM.