LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2005, 12:32 PM   #1
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Rep: Reputation: 30
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?
 
Old 04-04-2005, 12:39 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you compile it or use the mozilla installer?
 
Old 04-04-2005, 01:07 PM   #3
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
installer
 
Old 04-04-2005, 01:22 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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".
 
Old 04-04-2005, 05:23 PM   #5
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
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
 
Old 04-05-2005, 06:51 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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)
 
Old 04-05-2005, 05:18 PM   #7
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
I use KDE
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to verify if 'upgrade' worked? rip Debian 4 07-28-2005 09:30 AM
gui mozilla-installer in debian basanta Linux - General 0 11-25-2004 05:18 AM
making mozilla installer from mozilla-source basanta Debian 0 11-22-2004 01:18 AM
uninstall mozilla 1.6 (installed from mozilla-installer) woranl Linux - Software 3 01-25-2004 11:21 PM
galeon wont worked after i updated mozilla.... pls help.. kublador Linux - Newbie 5 03-13-2003 03:52 AM


All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration