Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the path to Mozilla

Status
Not open for further replies.

TaiChi56

Technical User
Mar 6, 2002
188
US
Alright. I finally figured out how to get to Super user mode and run a terminal. I am installing Flash player for the Mozilla browser. I get through everything but one question that it asks, and that is where I am stuck.

Where is Mozilla installed. It will not take /usr/lib/mozilla it says, please enter a valid installation path. Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Do a find for the file.

find / -name mozilla -print

it should show you the path as to where it is installed.

Also try from the prompt which mozilla

 
you could type "whereis mozilla" at the command shell at it will tell you. However, that won't help you much if you don't know what you are looking at. You will see three listed:

/usr/bin/mozilla /usr/lib/mozilla /usr/share/man/man1/mozilla.1.gz

The first one is in the /bin directory so the would be the executable. The second one is a directory which contains mozilla's support files. This is where the installer want to install the plugins. The last one is the compressed man page for mozzila. When you type "man mozilla", it decompresses and displays the pages in the terminal window.
 
Ok, I tried all of them. It is telling me that they are not valid directories. I opened a terminal window and typed in the find and it gave me the first two you have listed but not the third, it gave me directories for a svga icons. So I typed the /usr/bin/mozilla (no luck), then the /usr/lib/mozilla (no luck), then both (no luck). What do you think is going wrong. Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
It could be that the directory and/or files already exist. If they do, try renaming the directory /usr/lib/mozilla/plugins to /usr/lib/mozilla/plugins-orig. This way if everything messes up, you can go back to the way it was. You will need to be su or root to do this.
 
"mozilla" is usually just a script, located somewhere like /usr/bin/ or /usr/local/bin/

The actual mozilla executable and libraries are normally installed under the respective
*/lib/ directory. You might be able to find the "real" mozilla by reading the script,
or maybe just type:
[tt]
grep /mozilla `type -p mozilla`
[/tt]
( Note the back-ticks, not single-quotes )


Or with mozilla running, you can try this:
[tt]
cat /proc/`pgrep mozilla | sort -g | head -n 1`/cmdline && echo
[/tt]

The directory might have the version number append to the name, eg
[tt]
/usr/local/lib/mozilla-1.5/
[/tt]

In any case, you need to be sure you are logged in (or su'd) as root, or you
won't have the permissions needed for the install script to do its thing.

I think it is also possible to install an individual copy of flash as a normal user
in your "personal" mozilla directory, somehwhere like:
[tt]
/home/yourname/.mozilla/plugins/
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top