[NTLUG:Discuss] ok I need a little tip on this new system

Robert Pearson rdpears at gmail.com
Fri May 13 22:35:52 CDT 2005


On 5/13/05, Joe Martin <jman7659 at grandecom.net> wrote:
> I let the auto do setup on this new hard drive and I know that I am
> using mozilla and I need to add a few items to get shockwave working. I
> have install_flash_player_7_linux dir made from the tar.gz.
> I found the directory /install_flash_player_7_linux .
> I have the 2 items
> libflashplayer.so
> 
> flashplayer.xpt
> 
> in that dir plus the flashplayer-installer , I switch to root and issue
> the cmd
> #root>  flashplayer-installer

What did you use to become root? "su" or "su -" ?
"su" should have left you in the same directory
"su -" will put you into root's home directory which is /root
In either case use the accepted, standard practice of:
1) After becoming root make sure you are in the directory where the
install executable file is. In this case,
/install_flash_player_7_linux.
2) Use the command "./flashplayer-installer" [without the quotes]
2a) The "./" forces Linux to search the directory you are in for a
file named "flashplayer-installer"
2b) The directory you are in, which is known as ".", is not in the
executable file search path normally

> Well I decided to move the .xpt and .xo files manually ,
> only problem is I cant locate the mozilla dir :)

In my experience, the .xpt and .xo files have to be moved manually
most of the time.
To find where mozilla is installed, become root and use the command:
#root> find / -name "*mozilla*" -print

Here is an example from my machine using the "find command" above. I
use firefox and SuSE.
...[snip]...
/opt/MozillaFirefox/lib/mozilla-xremote-client
/opt/MozillaFirefox/installed-chrome.d/mozilla
...[snip]... 

You will get a lot of answers but you are looking for something in
/usr/lib or /usr/local for Fedora Core, I believe...

An alternative is to use the command:
#root> which mozilla

Here is an example from my machine. I use firefox and SuSE.
root at chump-change:~> which mozilla
...I get no answer because mozilla is not installed...
root at chump-change:~> which firefox
/usr/bin/firefox
root at chump-change:~> file `which firefox` 
[note: those are reverse single quotes ` not ']
/usr/bin/firefox: symbolic link to `/opt/MozillaFirefox/bin/firefox.sh'
You can get the same answer by using:
root at chump-change:~> file /usr/bin/firefox
/usr/bin/firefox: symbolic link to `/opt/MozillaFirefox/bin/firefox.sh'

This shows me that firefox is installed in /opt/MozillaFirefox, which
is normal for SuSE Linux. It is different for Fedora Core.




More information about the Discuss mailing list