Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old January 19th, 2007   #1
pinguin
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Italy
Beans: 29
Ubuntu 7.04 Feisty Fawn
Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Please, if you are running Gutsy (K/Ubuntu 7.10) stop and read this section. With any flavor of Gutsy you should be able to install "flashplugin-nonfree" with apt-get or synaptic/adept and nspluginwrapper should also install and automatically configure the plugin wrapper. You shouldnt need a script or howto to install it.

After several tests in order to make Flash Player working on Amd64 with nspluginwrapper based on the reading of varies how-to and in occasion of the definitive version of Flash Player 9 I have thought to write this guide, taking cue from the several one how-to that I have read; I synthetize the things that I have made in order to make it to work.
First of all we must install one series of libraries for compatibility with 32 bit
Indispensable is to install ia32-libs ia32-libs-gtk linux32 lib32asound2
Code:
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
Installation of the nspluginwrapper

# Alternative n.1: using repository kindly offered by Janvitus:
add the respository and update the sources list: http://www.janvitus.netsons.org/repository/
installation:
Code:
sudo apt-get install nspluginwrapper gsfonts-x11
# end of Alternative 1

# Alternative n. 2:downloading the last version of .rpm files the Plugin and Viewer from his site and debianizing with alien
Download:
http://gwenole.beauchesne.info/proje...2-1.x86_64.rpm
http://gwenole.beauchesne.info/proje...2-1.x86_64.rpm
install alien
Code:
sudo apt-get install alien
Let’s go into the folder with the downloaded .rpm files (in my case /home/maurizio)
And convert the packages
Code:
sudo alien nspluginwrapper-0.9.91.2-1.x86_64.rpm 
sudo alien nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm
And install the packages
Code:
sudo dpkg -i nspluginwrapper-0.9.91.2-1.x86_64.deb 
sudo dpkg -i nspluginwrapper-i386-0.9.91.2-1.x86_64.deb
#end of Alternative n. 2

Download flash player 9 from Adobe site http://fpdownload.macromedia.com/get...9_linux.tar.gz

WARNING: At this point, make sure to close every open browser.

Let’s go into the folder with the downloaded file and untar it
the “install_flash_player_9_linux” folder has been created
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from that folder into the /usr/lib/mozilla/plugins folder
at last give the command
Code:
nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
if it is all right, it would have to return to the prompt without no messages

in the folder .mozilla/plugins/ in our /home we can see the file “npwrapper.libflashplayer.so”, created from the previous command.

Copy it into the folder /usr/lib/mozilla/plugins/ [Epiphany works]
and create a link (or copy it) into the folder /usr/lib/mozilla-firefox/plugins/ [now Firefox works, too]

Now, (if I remembered to write back all steps) it would work,
try going on http://www.youtube.com/ and watch a video.

In my system it works, for stability we will see.

Automatically translated text: http://www.google.com/intl/en/help/faq_translation.html
from: http://forum.ubuntu-it.org/index.php/topic,56771.0.html

Last edited by pinguin; November 11th, 2007 at 01:09 PM.. Reason: flashplugin-nonfree in gutsy
pinguin is offline   Reply With Quote
Old January 20th, 2007   #2
NotPhil
Just Give Me the Beans!
 
Join Date: Jan 2007
My beans are hidden!
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

I picked up NSPluginWrapper from its home page and converted it to a Debian package with Alien. (Alien told me it skipped converting the scripts.) I installed it with dpkg, and npconfig and npwrapper.so showed up in /usr/lib/nspluginwrapper/x86_64/linux.

I got the Flash plug-in from its site and pulled out libflashplayer.so and flashplayer.xpt. I ran sudo nspluginwrapper -i on libflashplayer.so and was told ...

Quote:
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: libflashplayer.so is not a valid NPAPI plugin
... after installing ia32-libs, ia32-libs-gtk, lib32asound2, and linux32 and logging out, I ran sudo nspluginwrapper -i on libflashplayer.so again and was told ...

Quote:
*** NSPlugin Viewer *** ERROR: libflashplayer.so: cannot open shared object file: No such file or directory
*** NSPlugin Viewer *** ERROR: libflashplayer.so: cannot open shared object file: No such file or directory
nspluginwrapper: libflashplayer.so is not a valid NPAPI plugin
Anyone know what's wrong?
__________________
Regards,
Phillip

Visit NotPhil's Notions to see what Phillip thinks about business, society, and technology.
NotPhil is offline   Reply With Quote
Old January 21st, 2007   #3
je1117
A Carafe of Ubuntu
 
Join Date: Jan 2007
Location: San Marcos, TX
Beans: 89
Ubuntu 7.10 Gutsy Gibbon
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

hmmm...all I did was install firefox32 (1.5), used the upgrade install to get firefox32 (2.0). I then downloaded the newest flashinstall.tar.gz, and extracted flashplayer.xpt and libflashplayer.so to /usr/lib32/firefox32/plugins.

Java and flash work fine for me.
je1117 is offline   Reply With Quote
Old January 21st, 2007   #4
NotPhil
Just Give Me the Beans!
 
Join Date: Jan 2007
My beans are hidden!
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Quote:
Originally Posted by je1117 View Post
hmmm...all I did was install firefox32 [and install the plug-ins.]
So, all I need to do is install the 32-bit version of Firefox? Are you sure it will run on a 64-bit machine?

I only ask because this is my third Linux distribution, and I've had problems with either my video card (which has an NVIDIA instruction set) or my processor (a 64-bit AMD, with a really slow data bus, but I couldn't find anything else at the electronics stores).

I really don't want to go back to a Mac or a Wintel Box, but I'd like to be able to use Flash and Java. I'm sure if I were really patient, Adobe and Sun would come out with 64-bit versions of both of those plug-ins, but I'd rather get them working before the next development cycle comes around.
__________________
Regards,
Phillip

Visit NotPhil's Notions to see what Phillip thinks about business, society, and technology.
NotPhil is offline   Reply With Quote
Old January 21st, 2007   #5
pinguin
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Italy
Beans: 29
Ubuntu 7.04 Feisty Fawn
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Quote:
Originally Posted by NotPhil View Post
......
Anyone know what's wrong?
Sure you followed step by step my guide?
pinguin is offline   Reply With Quote
Old January 21st, 2007   #6
pinguin
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Italy
Beans: 29
Ubuntu 7.04 Feisty Fawn
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Quote:
Originally Posted by NotPhil View Post
So, all I need to do is install the 32-bit version of Firefox? Are you sure it will run on a 64-bit machine?
....
Yes, you can!
You also can install a complete 32bit version of Ubuntu in your 64bit PC.
Or, first of all you can try my guide to install flash plugin in your 64bit PC with Firefox
If it works fine for you.....
bye
pinguin is offline   Reply With Quote
Old January 21st, 2007   #7
janfsd
Gee! These Aren't Roasted!
 
janfsd's Avatar
 
Join Date: Nov 2005
Location: Poland
Beans: 200
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Maybe for stability you should consider installing the flasblock addon, I am using it and so far no crashes because of flash.
janfsd is offline   Reply With Quote
Old January 21st, 2007   #8
clueless
A Carafe of Ubuntu
 
Join Date: Nov 2004
Beans: 81
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

This worked like a charm. Finally, flash on my 64bit firefox! Thank you!
__________________
http://medistuff.net
clueless is offline   Reply With Quote
Old January 21st, 2007   #9
Lowfront
A Carafe of Ubuntu
 
Join Date: Dec 2006
Beans: 151
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

lowfront@lowfront-x60:~$ sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ia32-libs
Lowfront is offline   Reply With Quote
Old January 21st, 2007   #10
Kilz
64bit Ubuntu Power
 
Kilz's Avatar
 
Join Date: Mar 2006
Location: cyberspace
Beans: 6,161
Ubuntu 9.10 Karmic Koala
Re: Flash Player 9 working on Edgy Amd64 with nspluginwrapper

Quote:
Originally Posted by NotPhil View Post
So, all I need to do is install the 32-bit version of Firefox? Are you sure it will run on a 64-bit machine?
Yes, you can install 32bit firefox on a Ubuntu amd64 install. There are howto's that you can follow, as long as you can read then cut and paste its simple. There are also install scripts that can do it for you.
__________________
I trust Microsoft as far as I could comfortably spit a dead rat

Theres no place like home, since I keep coming back, this must be it
Kilz is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:59 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry