LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Forcing Architecture - Flash Player Install Problems (https://www.linuxquestions.org/questions/linux-software-2/forcing-architecture-flash-player-install-problems-748435/)

krimzen85 08-18-2009 10:02 AM

Forcing Architecture - Flash Player Install Problems
 
Hey guys,

I am just about satisfied with my Linux set-up, but I am running into one more problem. I am trying to install Adobe Flash Player version 10.0.32.18

On Adobe’s website under the Linux download set-up screen, it has the drop-down box to select the format, which I chose .DEB (8.04+)

However, when the download begins, I get the error of it being the wrong architecture. I am running 64-bit, and this is apparently only supported with 32-bit.

I read some literature that says I will need to force the architecture at the terminal, but since it looks like I will now have to install this from the terminal, I would like to know if anyone can walk me through the process / tell me the commands I would need to follow to force the architecture of this flash player AND how to install it from terminal?

Thanks,

Dean

pwc101 08-18-2009 10:15 AM

There is a 64-bit flash plugin available. You can get the native 64-bit tarball with the plugin from here:

http://download.macromedia.com/pub/l...6_64.so.tar.gz

Thus, no need to "force" the architecture (I'm not sure what you meant by that). Just extract libflashplayer.so from the archive and put it in /usr/lib/mozilla/plugins (if that directory exists). That will make it availble to all users (if you have more than one). If you don't want to go poking around in /usr, you can just make a folder in ~/.mozilla called plugins, put libflashplayer.so in there, and firefox should pick it up when you restart it.

krimzen85 08-18-2009 10:53 AM

You'll have to forgive me, I'm only two weeks into even knowing what "sudo" is, if you get what I mean.

Can I ask you to give me a step-by-step process for extracting the file, and how to put the file into /usr? Or even just how to create a folder in ~/.mozilla?

pwc101 08-18-2009 11:04 AM

Quote:

Originally Posted by krimzen85 (Post 3648115)
You'll have to forgive me, I'm only two weeks into even knowing what "sudo" is, if you get what I mean.

No worries, we were all there once :)
Quote:

Originally Posted by krimzen85 (Post 3648115)
Can I ask you to give me a step-by-step process for extracting the file, and how to put the file into /usr? Or even just how to create a folder in ~/.mozilla?

I assume you know how to open up a terminal if you know what sudo is. I also assume you're going to put this file in ~/.mozilla/plugins, as this is the safest way (there's no risk of you borking your system as we won't need root privileges (when you use sudo)).

Thus, open a terminal, and type the following:
Code:

mkdir ~/.mozilla/plugins
wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
tar -xvf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz -C ~/.mozilla/plugins

Those three commands to the following:

1. Make a directory (hence mkdir) called ~/.mozilla/plugins
2. Download the flash player tarball from the Adobe site
3. Use tar to extract the file whilst being verbose about it and then Changing directory to ~/.mozilla/plugins to output the contents of the archive.

After that, you should be able to launch Firefox and get it to play videos from youtube, or wherever.

To know more on what these commands all do, type into the terminal
Code:

man mkdir
man wget
man tar

The synopsis at the top is good for a general overview, and the text below goes through the options you can use with those programs.

krimzen85 08-18-2009 11:15 AM

For some reason, when I do mkdir ~/.mozilla/plugins it says "mkdir: cannot create directory '/home/administrator/.mozilla/plugins': No such file or directory" Any ideas?

Also, I checked and confirmed that the /usr directory for mozilla plugins exists.

That being said, would this procedure work just as well?

http://ubuntuforums.org/showthread.p...light=flash+64

pwc101 08-18-2009 11:20 AM

Quote:

Originally Posted by krimzen85 (Post 3648162)
For some reason, when I do mkdir ~/.mozilla/plugins it says "mkdir: cannot create directory '/home/administrator/.mozilla/plugins': No such file or directory" Any ideas?

Yes, it means that there is no ~/.mozilla directory into which it can make a directory called plugins, which is weird as that's the standard location for the profile. Which distro are you using? I assume from the sudo reference it's Ubuntu...
Quote:

Originally Posted by krimzen85 (Post 3648162)
Also, I checked and confirmed that the /usr directory for mozilla plugins exists.

That being said, would this procedure work just as well?

http://ubuntuforums.org/showthread.p...light=flash+64

Yes, it would.

krimzen85 08-18-2009 11:50 AM

I'm running Ubuntu Jaunty Jackalope 9.04. Gnome Desktop Envoronment.

pwc101 08-18-2009 11:50 AM

Quote:

Originally Posted by krimzen85 (Post 3648219)
I'm running Ubuntu Jaunty Jackalope 9.04. Gnome Desktop Envoronment.

In which case the instructions you linked to should be spot on.

krimzen85 08-18-2009 09:11 PM

Actually, believe it or not, I tried 4 different methods of getting this to work, including yours.

Yours is the only one that completely worked without any errors.

pwc101 08-19-2009 05:05 AM

Quote:

Originally Posted by krimzen85 (Post 3648783)
Actually, believe it or not, I tried 4 different methods of getting this to work, including yours.

Yours is the only one that completely worked without any errors.

Thanks. I've used both methods in the past, but tend to use the system-wide installation so if I add more users, they don't need to do it themselves.

Glad you got it working :)

grabro 08-21-2009 11:52 AM

Adobeflashplayer
 
PWC101

I am involving myself in this thread as I have a related problem. I have downloaded Adobe flash player (10.0.32.18-1) and I appear to have the flashplayer.so file in all the appropriate directories and yet Firefox will not show it. e.g. various site still tell me I need to download Adobe Flash Player.

I am using Mepis 8 and Firefox 3.5.1

Any ideas what I have not done?

grabro

i92guboj 08-21-2009 01:14 PM

Double check that the .so file you are using and your browser match. A 32 bits lib won't work on a 64 bits browser. You can check the type of binary file using the "file" command. Just give it the name of your flash player plugin .so file as an argument. Examples:

Code:

# file $(locate libflashplayer)
/home/i92guboj/local/flock/flock/plugins/libflashplayer.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/opt/netscape/plugins/libflashplayer.so:                    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
/usr/lib64/nsbrowser/plugins/libflashplayer.so:            symbolic link to `/opt/netscape/plugins/libflashplayer.so'


grabro 08-22-2009 06:12 AM

Forcing Adobe flaskplayer
 
i93guboj

Sorry I confused you. Everything on my system is 32bit.

I have just noticed that in the plugin directory on my browser(Firefox) I have two version of Shockwave Flash(9.0r48 and 10.0r32).

Despite the fact that both of these are enabled many more websites will not show graphics and state I must download the latest version of Adobe flash Player. I have tried to disable one or the other but with not effect.

All this seemed to have started since I upgraded the browser to 3.5.1 through my package manager.


grabro


All times are GMT -5. The time now is 10:56 AM.