PDA

View Full Version : Flash Player 9 working on Edgy Amd64 with nspluginwrapper


Pages : [1] 2

pinguin
January 19th, 2007, 04:22 AM
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
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:
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/projects/nspluginwrapper/files/nspluginwrapper-0.9.91.2-1.x86_64.rpm
http://gwenole.beauchesne.info/projects/nspluginwrapper/files/nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm
install alien
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
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
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/flashplayer/current/install_flash_player_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
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

NotPhil
January 20th, 2007, 08:18 PM
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 ...

*** 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 ...

*** 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?

je1117
January 21st, 2007, 01:02 AM
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. :p

NotPhil
January 21st, 2007, 05:13 AM
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.

pinguin
January 21st, 2007, 05:28 AM
......
Anyone know what's wrong?

Sure you followed step by step my guide?

pinguin
January 21st, 2007, 05:34 AM
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

janfsd
January 21st, 2007, 06:42 AM
Maybe for stability you should consider installing the flasblock addon, I am using it and so far no crashes because of flash.

clueless
January 21st, 2007, 12:11 PM
This worked like a charm. Finally, flash on my 64bit firefox! Thank you!

Lowfront
January 21st, 2007, 12:21 PM
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

Kilz
January 21st, 2007, 02:18 PM
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.

NotPhil
January 21st, 2007, 03:05 PM
Or, first of all you can try my guide to install flash plugin in your 64bit PC with Firefox

It looks like nspluginwrapper needs a couple more libraries (http://ubuntuforums.org/showpost.php?p=2011260&postcount=26) than the ones you mentioned to work. It also looks like nspluginwrapper is kinda flakey (http://ubuntuforums.org/showthread.php?t=269170). I think I'll try installing the 32-bit version of Firefox from the Mozilla site.

Lowfront
January 21st, 2007, 03:49 PM
anyone have any idea's here


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

NotPhil
January 21st, 2007, 04:15 PM
E: Couldn't find package ia32-libs

It shows up when I use the Synaptic Package Manager. Try the GUI and see if you can install it that way. The package says it's maintained by the Ubuntu Core Developers, so I wouldn't think you'd need to add any repositories to find it.

pinguin
January 21st, 2007, 04:48 PM
This worked like a charm. Finally, flash on my 64bit firefox! Thank you!

I'm happy my work helped you =D>
bye

Lowfront
January 21st, 2007, 04:51 PM
It shows up when I use the Synaptic Package Manager. Try the GUI and see if you can install it that way. The package says it's maintained by the Ubuntu Core Developers, so I wouldn't think you'd need to add any repositories to find it.

I'm sorry but what do you mean by try to GUI?

pinguin
January 21st, 2007, 05:13 PM
I'm sorry but what do you mean by try to GUI?
I think he means Synaptic Package Manager
Are you sure you have main repository enabled?

Lowfront
January 21st, 2007, 05:16 PM
I assume...How do I know for sure?

could it not work because I don't have the amd version but the other 64bit version?

pinguin
January 21st, 2007, 05:42 PM
I assume...How do I know for sure?
Open /etc/apt/sources.list with gedit
if you have a row like this (without # at the beginnig)
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse

It is enabled
look if there are universe multiverse, too

Lowfront
January 21st, 2007, 06:14 PM
deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy main restricted

deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://us.archive.ubuntu.com/ubuntu/ edgy universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
# deb http://security.ubuntu.com/ubuntu edgy-security universe
# deb-src http://security.ubuntu.com/ubuntu edgy-security universe
deb http://www.getautomatix.com/apt edgy main

#AUTOMATIX REPOS START

deb http://wine.lowvoice.nl/apt edgy main

deb http://archive.canonical.com/ubuntu dapper-commercial main

deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
#AUTOMATIX REPOS END

Lowfront
January 21st, 2007, 11:30 PM
?

HotFoot
January 22nd, 2007, 01:34 AM
Your instructions worked for me. This is the first time I've seen the 64-bit firefox play flash. It's nice to see progress being made.

pinguin
January 22nd, 2007, 03:02 AM
deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025)]/ edgy main restricted
.........


take a look at Release i386 in your output
It seems you installed a i386(=32bit) system
this section is for x86_64 users and my guide is for 64bit version of firefox!
On 32bit system flash player works without this workaround
take a look at some wiki page
bye

pinguin
January 22nd, 2007, 03:08 AM
Your instructions worked for me. This is the first time I've seen the 64-bit firefox play flash. It's nice to see progress being made.

I am happy hearing this

John Jason Jordan
January 22nd, 2007, 03:25 AM
I am on Edgy amd-64. I decided to give pinguin's method a try (from the instructions in post 1 of this thread). I got as far as adding Janvitus' repository, but http://www.janvitus.netsons.org/repository/ gives me a 404 error (page not found). In the past I have tried to use alien and it has never worked, so I am leery of trying the second alternative. Is there any place I can get the .deb file?

pinguin
January 22nd, 2007, 03:52 AM
I am on Edgy amd-64. I decided to give pinguin's method a try (from the instructions in post 1 of this thread). I got as far as adding Janvitus' repository, but http://www.janvitus.netsons.org/repository/ gives me a 404 error (page not found). In the past I have tried to use alien and it has never worked, so I am leery of trying the second alternative. Is there any place I can get the .deb file?

first, try again the method with alien, it is enough safe

the link http://www.janvitus.netsons.org/repository/ works from my PC
howerver these are the instructions:
To navigate into repository: http://janvitus.cabspace.com/ubuntu/

This repository is for the Ubuntu Linux 64bit distribution, at this moment Edgy Eft AMD64.
To add my GPG-key to your keyrings from console:

gpg –keyserver hkp://wwwkeys.eu.pgp.net –recv-keys 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -

Insert root password.
To add my repository in your APT system, insert this string in your sources.list.



For Edgy Eft:

deb http://janvitus.cabspace.com/ubuntu/ edgy-janvitus main-amd64

From console: sudo apt-get update

Corbelius
January 22nd, 2007, 09:45 AM
. I got as far as adding Janvitus' repository, but http://www.janvitus.netsons.org/repository/ gives me a 404 error (page not found)

Sorry, hosting problems :)

Lowfront
January 22nd, 2007, 12:22 PM
take a look at Release i386 in your output
It seems you installed a i386(=32bit) system
this section is for x86_64 users and my guide is for 64bit version of firefox!
On 32bit system flash player works without this workaround
take a look at some wiki page
bye

Hmm.. Thats not right. I had the 32bit version for awhile then decided to install the 64bit version. I'm positive that I downloaded the 64bit version for this install.

wtf....

John Jason Jordan
January 22nd, 2007, 01:04 PM
first, try again the method with alien, it is enough safe
the link http://www.janvitus.netsons.org/repository/ works from my PC
howerver these are the instructions:
First, the janvitus site is now working, as Corbelius noted, evidently there was a temporary hosting problem.

I added the repository to /etc/sources.list easily enough, but adding the key does not work:

jjj@Devil5:~$ gpg –keyserver hkp://wwwkeys.eu.pgp.net –recv-keys 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -
usage: gpg [options] [filename]

I also sudo-ed the command, but got the same results. Then I decided I'd just use Synaptic to add the key. But Synaptic for Edgy has changed. When I click on Settings > Repositories I now get a tabbed window. The Repositories tab shows the new repository, but you can't add a key from that tab. Instead there is an Authentication tab where the keys are displayed. However, there is no Add button on that tab. The only option is Import Key File. If you click on it you get a file browser window where you are supposed to select a key file to import, and I have no idea where that is. I looked in /etc/apt thinking that perhaps now there is a file like the sources.list file. There are a number of files there, but nothing that looked like a list of keys.

So then I clicked on the Help button on the tabbed window in Synaptic and it said the syntax for the command line should be:

jjj@Devil5:~$ gpg -recv-keys --keyserver hkp://wwwkeys.eu.pgp.net 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -

But that got me:

gpg: can't open `2C4C84CC'

So at least I got the options in the command line correct, but something is still wrong. Perhaps the keyserver is down?

janfsd
January 22nd, 2007, 05:31 PM
First, the janvitus site is now working, as Corbelius noted, evidently there was a temporary hosting problem.

I added the repository to /etc/sources.list easily enough, but adding the key does not work:

jjj@Devil5:~$ gpg –keyserver hkp://wwwkeys.eu.pgp.net –recv-keys 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -
usage: gpg [options] [filename]

I also sudo-ed the command, but got the same results. Then I decided I'd just use Synaptic to add the key. But Synaptic for Edgy has changed. When I click on Settings > Repositories I now get a tabbed window. The Repositories tab shows the new repository, but you can't add a key from that tab. Instead there is an Authentication tab where the keys are displayed. However, there is no Add button on that tab. The only option is Import Key File. If you click on it you get a file browser window where you are supposed to select a key file to import, and I have no idea where that is. I looked in /etc/apt thinking that perhaps now there is a file like the sources.list file. There are a number of files there, but nothing that looked like a list of keys.

So then I clicked on the Help button on the tabbed window in Synaptic and it said the syntax for the command line should be:

jjj@Devil5:~$ gpg -recv-keys --keyserver hkp://wwwkeys.eu.pgp.net 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -

But that got me:

gpg: can't open `2C4C84CC'

So at least I got the options in the command line correct, but something is still wrong. Perhaps the keyserver is down?

This should work:
wget http://janvitus.cabspace.com/ubuntu/2C4C84CC.gpg -O- | sudo apt-key add -

John Jason Jordan
January 22nd, 2007, 09:15 PM
This should work:
wget http://janvitus.cabspace.com/ubuntu/2C4C84CC.gpg -O- | sudo apt-key add -
Thanks!

It did work. I got it installed. Then I fired up Firefox and went to youtube.com. Sure enough, the videos played! Great! I also tried Opera, and even though I did nothing to enable flash in Opera (I don't even know how it handles plugins), youtube worked fine in Opera as well!

For further testing I have a bookmark to a site for testing plugins: http://kb.mozillazine.org/Testing_plugins
I went there and tried some of the pages. None of them would work. Worse, suddenly Firefox was not responding. I have a utility to kill non-responding apps, so I used it. Then I tried to relaunch Firefox, but I got a popup that said "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

Note: This experience is with Firefox 2.0 on Ubuntu Edgy amd64.

So then I tried top, but it didn't list Firefox as running. Finally I logged out and back in again. After logging back in again finally Firefox would restart. In fact, it asked if I wanted to resume, and I said yes.

When it came back up I went back to youtube.com, but now nothing works. :(

However, I just launched Opera again and youtube is still working in Opera.

pinguin
January 23rd, 2007, 03:41 AM
Have you done all these steps?

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]

try they again

Corbelius
January 23rd, 2007, 08:02 AM
First, the janvitus site is now working, as Corbelius noted, evidently there was a temporary hosting problem.

I added the repository to /etc/sources.list easily enough, but adding the key does not work:

jjj@Devil5:~$ gpg –keyserver hkp://wwwkeys.eu.pgp.net –recv-keys 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -
usage: gpg [options] [filename]

I also sudo-ed the command, but got the same results. Then I decided I'd just use Synaptic to add the key. But Synaptic for Edgy has changed. When I click on Settings > Repositories I now get a tabbed window. The Repositories tab shows the new repository, but you can't add a key from that tab. Instead there is an Authentication tab where the keys are displayed. However, there is no Add button on that tab. The only option is Import Key File. If you click on it you get a file browser window where you are supposed to select a key file to import, and I have no idea where that is. I looked in /etc/apt thinking that perhaps now there is a file like the sources.list file. There are a number of files there, but nothing that looked like a list of keys.

So then I clicked on the Help button on the tabbed window in Synaptic and it said the syntax for the command line should be:

jjj@Devil5:~$ gpg -recv-keys --keyserver hkp://wwwkeys.eu.pgp.net 2C4C84CC && gpg –export –armor 2C4C84CC | sudo apt-key add -

But that got me:

gpg: can't open `2C4C84CC'

So at least I got the options in the command line correct, but something is still wrong. Perhaps the keyserver is down?

Syntax errors, see here: http://ubuntuforums.org/showpost.php?p=1134877&postcount=1

John Jason Jordan
January 23rd, 2007, 02:08 PM
Have you done all these steps?
try they again
Yes, I did all of them and they all worked properly. And the files are in the correct folders. When I go to about:plugins it lists Flash 9 as installed. But when I go to youtube.com it says I either have Java turned off (it is turned on) or that I have an old version of Flash.

Note that it did work at first right after installing it. It broke only after Firefox hung on another site and I had to kill it. After that it no longer works. Repeating the instructions now will not get it back.

However, this exercise has accomplished one thing for me: I also have Opera installed and flash never worked there either. But now it does. I can go to youtube.com with Opera and view videos just fine now.

I suspect the difference is that Opera was installed from the static i386 .deb with --force-architecture, where Firefox is the 64-bit version 2.0 under Edgy. Still, it's odd that it worked at first and now I can't fix it.

mister mick
January 23rd, 2007, 11:26 PM
I got everything done to the bottom of the list, but there is no /plugins directory in .mozilla, just a /firefox directory. I didn't get any error from the nswrapper, it just returned me to the command prompt.

Eddie Mac
January 26th, 2007, 02:54 PM
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]


I had to copy it to /usr/lib32/firefox32/plugins for it to work (FYI to anyone who might be having the same problem I was having getting this to work).

saris
January 27th, 2007, 11:29 AM
This worked out great for me as well! Thank you very much for the post.

Doug11
January 27th, 2007, 11:30 AM
I am on Edgy amd-64. I decided to give pinguin's method a try (from the instructions in post 1 of this thread). I got as far as adding Janvitus' repository, but http://www.janvitus.netsons.org/repository/ gives me a 404 error (page not found). In the past I have tried to use alien and it has never worked, so I am leery of trying the second alternative. Is there any place I can get the .deb file?

I had problems with the first alternative as well. I tried the second one and it worked first try.

Footer
January 28th, 2007, 09:18 PM
Thanks for the post. 2nd alternative worked flawlessly for me.

:)

Guardia Republicano
January 29th, 2007, 04:19 AM
It works! Thanks. :lolflag:

I use Mozilla Firefox 2.0 for 64 bits.

I could not install nspluginwrapper-i386 from repository but it works anyway.

Regards,
Pablo from Argentina.

Footer
January 29th, 2007, 08:31 AM
I spoke too soon. After restarting the machine, it no longer works. I seem to have the same problem as John Jason Jordan. Anyone else? And if so, did you come up with a fix?

Thanks.

John Jason Jordan
January 29th, 2007, 01:37 PM
I spoke too soon. After restarting the machine, it no longer works. I seem to have the same problem as John Jason Jordan. Anyone else? And if so, did you come up with a fix?
I never found a fix. After I discovered that it did make Flash work in Opera that I also have installed, I decided that was good enough. If a site requires Flash, I'll just use Opera. I installed Opera with the 32-bit static deb, so that may be why it works. But having said that, the other day I used Opera to view a Flash demonstration of Beryl. Afterwards I left it running. Later that day I decided to close Opera, and when I clicked to close it the entire computer froze up -- mouse and keyboard dead. So now I'm leery of the whole thing.

It's weird that Flash worked fine on Firefox 2.0 when I first installed it, but after shutting down and restarting it never worked again.

pinguin
January 29th, 2007, 05:06 PM
I spoke too soon. After restarting the machine, it no longer works. I seem to have the same problem as John Jason Jordan. Anyone else? And if so, did you come up with a fix?

Thanks.
Try this:
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from /usr/lib/mozilla/plugins folder to /usr/lib/firefox/plugins folder
then in terminal run:
nspluginwrapper -v -a -i

let me know

Strangerdave
January 29th, 2007, 05:22 PM
So I wanted to try this out and got the section where I had to install nspluginwrapper, but keep on getting this message after I add the repository..

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nspluginwrapper-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However, the following packages replace it:
nspluginwrapper
E: Package nspluginwrapper-i386 has no installation candidate


What does this mean? And how can I go about fixing it?

-SD-

pinguin
January 29th, 2007, 05:31 PM
So I wanted to try this out and got the section where I had to install nspluginwrapper, but keep on getting this message after I add the repository..

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nspluginwrapper-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However, the following packages replace it:
nspluginwrapper
E: Package nspluginwrapper-i386 has no installation candidate


What does this mean? And how can I go about fixing it?

-SD-

Janvitus changed the repository
now simply run:
sudo apt-get install nspluginwrapper gsfonts-x11

I'll go change first post!

heinkel_111
January 29th, 2007, 06:02 PM
Hi I just wanted to notify that I followed method 2 yesterday, but had problems locating the repositories, I got a 302 found error whatever that means. I browsed to the repos using my trusty konqueror instead, downloaded the deb.. and used mc to make a manual install.

The pluginwrapping works for firefox, but I cannot get it to work in Konqueror. And I would like to get it to work in Konqueror. Can someone report if they have used these methods to get flash on 64 bit konqueror in kubuntu edgy 6.10? (KDE 3.5.5/Konqueroror 3.5.5)

I read in the nspluginwrapper release notes that this may require a special konqueror with fixed npapi headers, but .... what is your experience?

John Jason Jordan
January 29th, 2007, 09:44 PM
Try this:
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from /usr/lib/mozilla/plugins folder to /usr/lib/firefox/plugins folder
then in terminal run:
nspluginwrapper -v -a -i
let me know
That worked! After doing the above I could watch videos on youtube.com again!

But then I shut down and restarted Firefox, and it was broken again. :(

So (acting on a hunch) without restarting Firefox, I ran again just the last command, "nspluginwrapper -v -a -i," and it started working again. :)

Not sure what that means.

Strangerdave
January 29th, 2007, 11:32 PM
Thanks for fixing the syntax, but I have another question. I do apologize I am a n00b at this and am muddling through it all...

When I install the deb packages this is a message I get:

dpkg: error processing nspluginwrapper_0.9.91.2-1.x86_64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
nspluginwrapper_0.9.91.2-1.x86_64.deb


Any an all help is greatly appreciated during this time of learning curve :(

-SD-

pseudonym
January 30th, 2007, 12:19 AM
Any an all help is greatly appreciated during this time of learning curve :(
My advice is to dump nspluginwrapper and use flash/java etc. with 32-bit Firefox running with ia32-libs. Why? Because the wrapper is buggy and inevitably breaks, and when you go the 32-bit Firefox route web browsing on Ubuntu 64 becomes a non-problem.

For further info see posts 7 & 9 in this thread (http://www.ubuntuforums.org/showthread.php?p=1823857&highlight=tall-male#post1823857). I recommend the first of those methods because you can use the most up-to-date Firefox as it gets released.

Footer
January 31st, 2007, 09:00 AM
Try this:
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from /usr/lib/mozilla/plugins folder to /usr/lib/firefox/plugins folder
then in terminal run:
nspluginwrapper -v -a -i

let me know

That fixes it. For how long, I don't know. But it's not too much trouble to run that command so I'll go with it for now!

Thanks!

jariy
February 1st, 2007, 04:50 AM
I don't know is it me or the plugin but flash and acroread stops working after a while and the only way to get it working again is to restart the browser (ff 2.0).

For instance I can watch a tens of youtube videos and later that day all I see is a white box where the flash should be.

I have the latest pluginwrapper (0.9.91.2) and Flash 9.0 r31

Corbelius
February 1st, 2007, 08:15 PM
For instance I can watch a tens of youtube videos and later that day all I see is a white box where the flash should be.



It's a bug, refresh the page.

Scarlett
February 1st, 2007, 11:46 PM
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]

Weird. I returned to the prompt with no messages.... so far, so good. But I couldn't find any folders in /home, never say an "nwrapper.libflashplayer.so" and therefore couldn't copy it anywhere. Frustrating. I've been at this for quite a few hours now and I'm becoming increasingly upset with Adobe for not just working with us to make a plug-in that just works.

Anyway... because I'm a masochist and I wanted to see the little message from youtube, taunting me to install their damn plug-in, (I'm trying, I'm trying) I went to the site and LO AND BEHOLD.... IT WORKED! Hot damn, I've finally got a 64 bit version of FF that works!

Many, many thanks for posting this, pinguin. Oh geez, I've got a weeks worth of Daily Show to catch up on...

Scarlett
February 1st, 2007, 11:54 PM
I spoke too soon. Youtube works but Comedy Central doesn't. Guess I really do need to copy this non-existent file somewhere. :(

jariy
February 2nd, 2007, 03:14 AM
It's a bug, refresh the page.

I think I found the "bug" it was the Flashblock addon and btw refreshing the page didn't help. I still have some font (or encoding) issues with acroread. I attached two screenshots which speak from themselves. Acroread is 7.0.9, I also tried 7.0.1 and 7.0.0 IIRC.

John Jason Jordan
February 2nd, 2007, 04:35 AM
That fixes it. For how long, I don't know. But it's not too much trouble to run that command so I'll go with it for now! Thanks!
I now have a workaround that enables me to have flash working always in 64-bit Firefox 2.0, even after shutting it down and restarting it. First, I did the following per pinguin's instructions:
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from /usr/lib/mozilla/plugins folder to /usr/lib/firefox/plugins folder
then in terminal run:
nspluginwrapper -v -a -i
After doing that it worked great, but the minute I shut down Firefox and restarted it, flash no longer worked. Eventually I learned all I needed to do is run the last line as a command in a terminal. Even if Firefox was already launched, that was enough to get it to work again.

So I made myself a bash script that runs the above command and then launches Firefox. To emulate what I did, open Gedit (or whatever you use for a text editor) and paste in the following lines:
#!/bin/bash
nspluginwrapper -v -a -i
firefox
Save the file as firefox_launch_script in your home folder. Open Nautilus, right click on the file and select Properties. In the Properties window check on the box to make it an executable file.
Now change the launch command in your launch menu item or icon on the panel that you use to launch Firefox. Where it says "firefox %u" change it to read "/home/<your_user_name>/firefox_launch_script."
From now on when you click to launch Firefox it will run the command first, then launch Firefox.
It's kind of a clunky workaround, but it does work and Flash is always working now in 64-bit Firefox.

datr
February 3rd, 2007, 08:55 AM
That works great John, thanks.

mjskia1
February 3rd, 2007, 06:09 PM
I got everything done to the bottom of the list, but there is no /plugins directory in .mozilla, just a /firefox directory. I didn't get any error from the nswrapper, it just returned me to the command prompt.

I've got the same problem -- anyone know where to find it?

one_stinky_bum
February 8th, 2007, 12:59 AM
Works like magic - Edgy + AMD X2 64 + 64bit FF (from automatix) + flash plugin from adobe site. Thanks.

One day, one day we'll get the same ease of use as the 32 bit guys, and they'll be stuck with their 4 Gigs of ram! Well, not that you'll need more than that with firefox.

Cat in a tree
February 9th, 2007, 10:19 AM
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 ...


... 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 ...


Anyone know what's wrong?
I had the same thing happen with NSPlugin Viewer *** preloader not found and that libflashplayer.so was not a valid NPAPI plugin.
I saw the same error about scripts with Alien, I redid it with Alien -c and i didn't get the warning about scripts however, after following the rest of the steps I got the same errorl
would sure like help on what to do next........

fastawdtsi
February 9th, 2007, 12:05 PM
Worked perfect for me. Ubuntu Edgy 6.10 x86_64.

Thank you so much for the guide!

andrian.ivanov
February 10th, 2007, 11:37 AM
:)

mc^2
February 11th, 2007, 06:59 AM
I've got the same problem as John Jason Jordan. When I close firefox or ephy and open it again I need to run nspluginwrapper -a -i (-v is just verbose) to see flash content again (instead of white boxes).
Does anyone know how to make nspluginwrapper remember its settings (making a shell script to launch firefox works but somehow it doesn't seem to be THE way).
Anyway, thanks for a great guide, I don't have to switch to MSWXP to watch youtube vids:popcorn:.

fussel78
February 11th, 2007, 02:27 PM
Ciao!

Quote:
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: libflashplayer.so is not a valid NPAPI plugin


You need to
$sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2

then (again)
$sudo dpkg -i nspluginwrapper-i386-0.9.91.2-1.x86_64.deb

and
nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

This time it should work!

Missed out a package in the howto...

Greets from Switzerland,
Fussel

Tom Mann
February 12th, 2007, 03:37 PM
Sun have released JRE for linux X64!! :D

Amurko
February 13th, 2007, 01:48 AM
Great, I can watch youtube on my new Core 2 system for the first time!

On a side note, if anyone affiliated with them is reading this... is there any chance Automatix can be updated to follow these instructions in installing Flash?

jackrobinson
February 13th, 2007, 01:15 PM
if anyone has installed the package from Janvitus's repository, can he/she post the result of the following command:
dpkg -s nspluginwrapper | grep "Depends"

John Jason Jordan
February 13th, 2007, 01:58 PM
if anyone has installed the package from Janvitus's repository, can he/she post the result of the following command:
dpkg -s nspluginwrapper | grep "Depends"
I installed it with the Janvitus repository. Here is what I got:

jjj@Devil5:~$ dpkg -s nspluginwrapper | grep "Depends"
Depends: lib32gcc1 (>= 1:4.1.1-12), libc6 (>= 2.4-1), libc6-i386 (>= 2.4-1), libglib2.0-0 (>= 2.12.0), libx11-6, libxt6, ia32-libs, ia32-libs-gtk, linux32, lib32asound2, gsfonts-x11

It's working fine, although I had to make a bash script so that it would be reinitiated every time Firefox is launched.

Michelpt
February 18th, 2007, 09:43 AM
Yeap! :) After trying the huge quantity of tutorials finally I can see youtube.com and www.thefwa.com on edgy amd_64!! Thanks a lot! :) ...

here is that dpkg -s nspluginwrapper | grep "Depends" outputs:
Depends: lib32gcc1 (>= 1:4.1.1-12), libc6 (>= 2.4-1), libc6-i386 (>= 2.4-1), libglib2.0-0 (>= 2.12.0), libx11-6, libxt6, ia32-libs, ia32-libs-gtk, linux32, lib32asound2, gsfonts-x11

r_rehashed
February 18th, 2007, 11:10 AM
both Flash and Java work fine for me. but, firefox sudddenly hangs at times while playing flash videos like those from youtube or google video!

Luk0r
February 23rd, 2007, 10:40 PM
Sorry for bumping this thread, but it worked like a charm. Thanks a lot!

coacharnold
February 26th, 2007, 07:20 PM
YOU RULE!!!!!!!!!!!!!!!! Worked like a charm ....... THANK YOU THANK YOU SO MUCH!!!!!!!:) :) :) :) :) :)

javaguru
February 28th, 2007, 08:10 PM
Great tutorial, thanks ! works as a charm.. by the way, I run Debian unstable amd64.

djrobthaman
February 28th, 2007, 11:52 PM
Hi,

I was using this guide and my noobness reared its ugly head. I'm trying to transfer the two files to the mozilla plugin folder but it says I do not have the permissions. I tried to log out and then log in from startup as "root", but when I do this it gives me a message like "you cannot log in as the administrator from this screen."

How can I get to transfer the files?

Thanks,
Douglas

John Jason Jordan
March 1st, 2007, 02:34 AM
Hi,

I was using this guide and my noobness reared its ugly head. I'm trying to transfer the two files to the mozilla plugin folder but it says I do not have the permissions. I tried to log out and then log in from startup as "root", but when I do this it gives me a message like "you cannot log in as the administrator from this screen."
How can I get to transfer the files?
Because it is built from the ground up as a secure OS the only files a user is allowed to mess with are those in the user's home folder. However, any user who has the password for root can become root, and root can do anything.

There usual way to become root is to type su at a command line, which will prompt you for the root password. In Ubuntu the root account is sort of not there (the explanation is very long), but you can do things as root by using sudo in front of the command. This will prompt you for the root password the same as su.

A simple way around your problem is to launch Nautilus as root. To do so, open a command line (Applications > Accessories > Terminal) and type "sudo nautilus." This will launch an instance of Nautilus with root privileges. Now you can drag and drop files anywhere. BUT BE CAREFUL. Do this only with a piece of paper in front of you and a pen in hand so you can document exactly what files you moved/deleted and how. The folders you are trying to access require root privileges for a reason. Mucking them up can render the system unbootable or create security problems. Having said that, if just want to move the mozilla files the worst that will happen is that Firefox will fail to launch or the plugin won't work. Still, whenever assuming the cloak of root, be careful.

rembert
March 1st, 2007, 06:46 AM
Managed to get flash running now but not with the repository as posted in the first post. Just browsing tot he page www.janvitus.netsons.org/repository/ did the trick:

Instead of adding the repository (to /etc/apt/sources.list)

deb http://www.janvitus.netsons.org/repository/ ./

I added

deb http://janvitus.interfree.it/ubuntu/ edgy-janvitus main-amd64

This followed by the

sudo apt-get update
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
sudo apt-get install nspluginwrapper gsfonts-x11
nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

And voila, it seems to work perfectly.

NB If your have enabled the root account and are doing this as root, be sure to run nspluginwrapper as the non-root user.

Her Ghost
March 1st, 2007, 12:00 PM
hi, I'm having problems with this. Has anyone got any ideas?

leigh@leigh-desktop:~$ sudo apt-get install nspluginwrapper gsfonts-x11Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nspluginwrapper

Thanks for any help

c0nv1ct
March 1st, 2007, 07:23 PM
Has anyone been able to apply this technique to getting flash to work in Swiftfox amd64?

I tried following the same steps, but putting the files in /opt/swiftfox/plugins, but it doesn't work :( Works like a charm in regular firefox though.

Kilz
March 1st, 2007, 08:10 PM
Has anyone been able to apply this technique to getting flash to work in Swiftfox amd64?

I tried following the same steps, but putting the files in /opt/swiftfox/plugins, but it doesn't work :( Works like a charm in regular firefox though.

Swiftfox is non-free. Why would anyone work to make it better?

hodad
March 2nd, 2007, 01:03 AM
I get all the way to the last step and get:

sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflshplayer.so
nspluginwrapper: /usr/lib/mozilla/plugins/libflshplayer.so is not a valid NPAPI plugin


Any suggestions on what I should do? Everything seemed to work OK up to the last step.

Thanks

c0nv1ct
March 2nd, 2007, 02:58 AM
I get all the way to the last step and get:

sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflshplayer.so
nspluginwrapper: /usr/lib/mozilla/plugins/libflshplayer.so is not a valid NPAPI plugin


Any suggestions on what I should do? Everything seemed to work OK up to the last step.

Thanks

is that a direct copy from your console? if so, you misspelled "libflashplayer.so"

Swiftfox is non-free. Why would anyone work to make it better?

I didn't realize it was non-free. It didn't seem any faster anyway, i guess i'll ditch it.

Corbelius
March 2nd, 2007, 06:44 AM
hi, I'm having problems with this. Has anyone got any ideas?

leigh@leigh-desktop:~$ sudo apt-get install nspluginwrapper gsfonts-x11Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nspluginwrapper

Thanks for any help

I have changed repository address, have u update?

http://www.janvitus.netsons.org/repository/

hodad
March 2nd, 2007, 11:03 AM
oooops! Thanks for catching that!. Still have the same problem, however. Here's what I get:

xxxx@xxxx-desktop:~/Flash_Install/install_flash_player_9_linux$ sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: /usr/lib/mozilla/plugins/libflashplayer.so is not a valid NPAPI plugin
xxxx@xxxx-desktop:~/Flash_Install/install_flash_player_9_linux$

libflashplayer.so is in the subdir where I ran the command. I guess I'm missing the "preloader", whatever that is.

Any ideas? Thanks

DuckMan
March 4th, 2007, 10:57 AM
works perfect in my box

AMD64 with feisty fawn

:) thx

Her Ghost
March 4th, 2007, 04:12 PM
I have changed repository address, have u update?

http://www.janvitus.netsons.org/repository/

Done it!

Thanks - it works beautifully.

One thing I struggled with (after updating the repositories as above) was that the file created did not have permissions that were needed for a standard user to run the plugin, so I had to run

sudo chmod 666 npwrapper.libflashplayer.so

in the mozilla-firefox/plugins folder, to make sure that it worked (probably pretty obvious, but I'm still learning!). After this it worked perfectly.

Thanks again

NeilBlanchard
March 5th, 2007, 09:05 PM
Greetings,


# Alternative n.1: using repository kindly offered by Janvitus:
add the respository and update the sources list: http://www.janvitus.netsons.org/repository/

I'm a noob -- where is this sources list?

ecs_pf5
March 6th, 2007, 12:18 AM
It's in /etc/apt/


neil@ubuntu:~$ cd /
neil@ubuntu:/$ cd etc
neil@ubuntu:/etc$ cd apt
neil@ubuntu:/etc/apt$ dir
apt.conf secring.gpg sources.list~ sources.list.save trusted.gpg
apt.conf.d sources.list sources.list.d trustdb.gpg trusted.gpg~
neil@ubuntu:/etc/apt$ sudo vi sources.list
Password:
neil@ubuntu:/etc/apt$


BTW - take the URL's and the key stuff direct from the author's site, as close in terms of clicks to his actual 'browse' links as possible ;)

Did you install Dapper or Edgy? I discovered the nspluginwrapper package is only in the Edgy repo & it doesn't seem to play nice with Dapper right now.

Corbelius
March 6th, 2007, 09:28 AM
The new version of nspluginwrapper (0.9.91.3) is in the repository, if upgrade, re-launch "nspluginwrapper -v -a -i" from console.

NeilBlanchard
March 6th, 2007, 12:37 PM
Greetings,

It's in /etc/apt/


neil@ubuntu:~$ cd /
neil@ubuntu:/$ cd etc
neil@ubuntu:/etc$ cd apt
neil@ubuntu:/etc/apt$ dir
apt.conf secring.gpg sources.list~ sources.list.save trusted.gpg
apt.conf.d sources.list sources.list.d trustdb.gpg trusted.gpg~
neil@ubuntu:/etc/apt$ sudo vi sources.list
Password:
neil@ubuntu:/etc/apt$


BTW - take the URL's and the key stuff direct from the author's site, as close in terms of clicks to his actual 'browse' links as possible ;)

Did you install Dapper or Edgy? I discovered the nspluginwrapper package is only in the Edgy repo & it doesn't seem to play nice with Dapper right now.

Okay, I'm fine up to sudo vi sources.list -- that seems to open that file, but I can't figure out where/how to paste in the URL, and then how to save it?

I hope I didn't mess it up trying...

BTW, I'm using Edgy (see header).

ecs_pf5
March 6th, 2007, 04:46 PM
http://www.eng.hawaii.edu/Tutor/vi.html

You need to toggle between command and insert mode to use vi properly (easy once you get used to it but it's a bit strange at first)

RichOlson
March 6th, 2007, 09:04 PM
Option 1 as described by pinguin rendered firefox inoperable for me. It would not accept input from the keyboard. Removing nspluginwrapper and gsfonts=x11 and restarting firefox restored functionality.

pinguin
March 7th, 2007, 03:06 AM
Greetings,



Okay, I'm fine up to sudo vi sources.list -- that seems to open that file, but I can't figure out where/how to paste in the URL, and then how to save it?

I hope I didn't mess it up trying...

BTW, I'm using Edgy (see header).

You can use gedit, it is friendly
sudo gedit /etc/apt/sources.list

HeinBehrens
March 10th, 2007, 04:23 AM
Works well for me. With Feisty Fawn.

Thanks

vitalik
March 10th, 2007, 09:23 PM
Wow, thank you so much. I have been using Ubuntu 64 without flash for couple of month now. This guide worked great for me with alternative method # 2. The only problem I have run in was when I tried to install deb packages generated with alien

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

It gave me some errors, ca not remember which, sorry. But what I did is installed them in graphical interface. Just doubled click on them and grphical packege installer did the rest. So if any of you had the same problem, try to locate where you deb files where generated and install them form graphical interface and then continue to the rest of the guide.

Thanks again, awesome guide.

RacerII
March 11th, 2007, 08:22 AM
The latest version of nspluginwrapper doesnt work for me on edgy
Heres the error:

(npviewer.bin:17012): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
*** NSPlugin Viewer *** ERROR: NPP_Destroy() get args: Message argument mismatch
*** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Message type invalid
*** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Message type invalid

elchudi
March 13th, 2007, 10:07 PM
it work for my also (alternative 2), running a kubuntu x86_64 edgy on a amd 64 x2 3800+
tnx mate

jzimmerman
March 18th, 2007, 05:01 AM
I only read the first few pages of this thread while troubleshooting my installation issues, but I figured out what the problem was for me. Ignore this if this issue has already been discussed.

I am running Feisty AMD64 w/ Firefox 2.0.

I followed installation alternative 1 described at the start of this thread. I could not get the libraries to load so that flash would work. All steps executed without error and I executed every command with sudo (I didn't want it to go in my profile).

My problem was that the files I copied into /usr/lib/mozilla/plugins were owned by root and had permissions 700. I chmod'd them to 755 and everything loaded properly.

So "check your permissions" might be a helpful tip to add to the list. Probably just for those not following the directions _exactly_ though.

Thanks for all the information in this thread.

gheorghe.iuga
March 18th, 2007, 09:18 AM
Thank you. It worked like a charm.

I have used the second alternative, but i downloaded the last packages from

http://gwenole.beauchesne.info/

It's great

jonnylinuxnerd
March 20th, 2007, 04:48 PM
This guide rules! I just wanted to say thanks for the great instructions. I've been trying to get flash working for ages when I stumbled across this. :)

chrism66
March 20th, 2007, 05:31 PM
Thanks also worked fine here!

DREMA
March 21st, 2007, 12:23 AM
Followed the instructions and works perfect for me!

eatmo
March 21st, 2007, 09:57 PM
This worked nicely for me, but I'd just like to add that if you happen to have libswfdecmozilla.so in your plugin directory you will need to delete it for flash to work. It was probably there after I initially tried to just install flash without all the tricks.

This had me a little confused for a good 15 minutes.

nategreat
March 22nd, 2007, 11:42 PM
I've found an easy way of viewing flash videos (FLV) such as youtube & google videos on an 64 bit Linux operating system, but theres no sound. I'm using Ubuntu.

1 Install gxine using the add/remove programs in the application menu.
2 Install VideoDownload extension in Firefox or any other video downloader extension.
3 Go to the page with the embedded flash video you want to play. Click on the VideoDownload symbol.
4 This will give you a link to the file. Right click on it and select "copy link location".
5 Open gxine from the application > sound and video menu and paste the url (web address) into the FILE > OPEN MRL box
6 Voila! It will load the video in gxine

If anyone knows how to get sound and automate this please let me know.

mfrnka
April 4th, 2007, 04:26 AM
Great info. Worked well for me today installing the latest nspluginwrapper, "option 2".

I'll be 100% Windows free very shortly. :)

CadetD
April 4th, 2007, 11:33 AM
He he, U D Man!

Works perfectly. Thanks.

D.

-------------------------
Dual AMD64 Opteron 270 (quad core), 8GB RAM, ATI X1950 Pro
Ubuntu 6.10

Corbelius
April 5th, 2007, 08:11 AM
New version 0.9.91.4 is up to repository for edgy :)

fabertawe
April 5th, 2007, 12:54 PM
Corbelius, just wanted to say thanks for this, working great here :)

Paul

bcrowell
April 5th, 2007, 01:46 PM
Hi Pinguin -- Thanks for posting this!

This worked for me on my amd64 machine, running edgy.

Here are a few notes, corrections, and explanations:

On Janvitus's page, there is information in English down below the Italian part. In the commands he lists there for setting up the gpg key, the -- (double dashes) have been typeset as m-hyphens, so it won't work if you just cut and paste from his page into a terminal window. The correct command is this:

gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 2C4C84CC && gpg --export --armor 2C4C84CC | sudo apt-key add -

The following is incorrect, I think:

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

Actually this file is already in the directory /usr/lib/mozilla/plugins. Therefore, it's not necessary to copy it to that directory. All that should be necessary is to copy it into the mozilla-firefox/plugins directory (or create a link).

-Ben

sebastian__
April 5th, 2007, 02:03 PM
Thanks man it's working for me

yelserpdog
April 5th, 2007, 05:24 PM
I just keep getting

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32asound2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package lib32asound2 has no installation candidate

What's happening?

Dog

Christobevii3
April 8th, 2007, 04:52 AM
I think the problem people are having is that the ia32-libs-gtk isn't installing.

Package ia32-libs-gtk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
ia32-libs
E: Package ia32-libs-gtk has no installation candidate


This is what it causes later

christobevii3@laptop:~/Desktop$ nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: /usr/lib/mozilla/plugins/libflashplayer.so is not a valid NPAPI plugin

Corbelius
April 8th, 2007, 02:04 PM
I just keep getting

What's happening?

Dog

I think the problem people are having is that the ia32-libs-gtk isn't installing.



Enabled multiverse and universe ubuntu repositories.

yelserpdog
April 8th, 2007, 03:30 PM
Enabled multiverse and universe ubuntu repositories.

And hey presto, it works!!! Many thanks Corbelius and Kilz

you rock :guitar:

Cheers

Spr0k3t
April 9th, 2007, 10:10 PM
Many thanks. Alternate method #2 works with Feisty with the following changes.

When you go to move the files, move them to /usr/lib/firefox/plugins/* and perform the nspluginwrapper command on that file specifically. The folder /usr/lib/mozilla/ did not exist on my system. Using a clean install of Ubuntu Feisty beta.

Thanks again!

Spr0k3t
April 9th, 2007, 10:28 PM
After closing and loading the browser flash no longer works. I have to rerun the following:

nspluginwrapper -i /usr/lib/firefox/plugins/libflashplayer.so

before flash plays properly.

saru411
April 10th, 2007, 10:36 PM
thanks for the howto. i learned how to copy files with terminal also from trying to do this howto.

dellUsional
April 11th, 2007, 01:48 PM
New version 0.9.91.4 is up to repository for edgy :)
Does this version fix the restart/reboot problem? Also, how can I tell which version of nspluginwrapper I've installed? I used method 1 (repository) to install. I still have to use the nspluginwrapper -v -a -i command.

Corbelius
April 13th, 2007, 08:06 AM
Does this version fix the restart/reboot problem?

It's not a bug, never had this problem, try to eliminate all files you have installed and created before and reinstall nspluginwrapper.

Also, how can I tell which version of nspluginwrapper I've installed?

From terminal:

nspluginwrapper --help

saru411
April 13th, 2007, 02:35 PM
i also have the issue of having to type nspluginwrapper -v -a -i command after restarting fire fox. i was wondering if i should delete the copy of the .so file in this screen shot. you can also see the wrapped one to the far right.

ender
April 13th, 2007, 11:35 PM
Beautiful. :grin:
I really hated having to install 32bit Firefox to get flash working.

alecut
April 14th, 2007, 07:17 AM
I followed penguins instructions and managed to install flash 9 on my firefox on a 64-bit system with ubuntu feisty beta version 7.04 (alternative #2 worked for me)

Only one addition at the end since i kept on getting the following error :
LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/
npwrapper.libflashplayer.so [/usr/lib/firefox/plugins/npwrapper.libflashplayer.so: npwrapper.libflashplayer.sonpwrapper.libflashplaye r.sonpwrapper.libflashplayer.so:
cannot open shared object file: Permission denied]


I ran the following to fix it:

sudo chmod 555 /usr/lib/firefox/plugins/npwrapper.libflashplayer.so
sudo chmod 755 /usr/lib/firefox/plugins/

it glitched a bit at the beginning but after a reboot all seems well.

Hope this will be helpful and thanks penguin.

---
Alexandra Alecu

rogeriovinhal
April 14th, 2007, 08:14 AM
And for java plugin? What do you do to make it work in 64-bit firefox?
nspluginwrapper also works?

Becasu blackdown Java closes firefox for me everytime I use a java application.

Spr0k3t
April 14th, 2007, 09:26 AM
I followed penguins instructions and managed to install flash 9 on my firefox on a 64-bit system with ubuntu feisty beta version 7.04 (alternative #2 worked for me)

I ran the following to fix it:
sudo chmod 555 /usr/lib/firefox/plugins/npwrapper.libflashplayer.so
sudo chmod 755 /usr/lib/firefox/plugins/

Thanks alecut! Performing the chmod fixed the issue on my system as well. Now we just need to get the updated information about the chmod and the /firefox/ instead of /mozilla/ back into the first post so people don't have to dig for the solution.

dellUsional
April 18th, 2007, 04:11 PM
It's not a bug, never had this problem, try to eliminate all files you have installed and created before and reinstall nspluginwrapper.
Hey, it's working. I rm'd all files, reinstalled, and then ran the chmod commands. I quit FF. Restarted FF. Still get Flash. Haven't rebooted yet but I'm totally optimistic. :popcorn:

vitalik
April 18th, 2007, 08:52 PM
Yes this is a great guide and everything is working. Awesome, and thank you.
Too bad Java does not work yet, I know it will work with 32bit Firefox, but I don't want to run 32 bit apps on on my Ubuntu 64. What is a purpose of running 64bit OS and then installing 32bit apps, of course if there is no 64bit app available then maybe I will consider, but for now I will not use Java. And besides there are not to many sites that use it, but Flash on the other hand is very handy.

Thank You.

DaylanDarby
April 19th, 2007, 07:42 PM
Thank you, pinguin, your instructions worked for me.

Carlwill
April 20th, 2007, 09:39 AM
Anyone know if this will now work with 7.04? I tried this on my 6.10 and it worked great but since 4/19 I have upgraded to 7.04. Not sure if I should try this on my new system (fresh install).

Carlwill
April 20th, 2007, 10:10 AM
OK - I would like to report back that this works perfectly on 7.04 as well!

zham61
April 21st, 2007, 05:12 AM
Hey I'm new to Ubuntu. This is actually my first post on the forums!! I was doing this install and I got stuck at one part. I don't understand how to find the folder location stated here:

"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]"

Can you explain where I find this .mozilla/plugins/ in our /home ?

Thanks!

Dhana
April 21st, 2007, 05:19 AM
Works a treat mate! Thanks so much!

pinguin
April 21st, 2007, 06:02 AM
to zham61
open Resources > Home
then click on View in your nautilus menu bar
then check Show Hidden files
(I think these are english menus, my menus are in italian languages)
and you can see .mozilla in your home
files beginning with "." are hidden files

Carlwill
April 21st, 2007, 11:23 AM
Hey I'm new to Ubuntu. This is actually my first post on the forums!! I was doing this install and I got stuck at one part. I don't understand how to find the folder location stated here:

"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]"

Can you explain where I find this .mozilla/plugins/ in our /home ?

Thanks!

Yes,

open a "Terminal" window and type this:

sudo cd ~/.mozilla/plugins

The "~/" tells Linux to put you in your current users /home directory and anything with a "." in front of it is a hidden directory.

So you're telling linux to move you (cd) to my home dir. (~/) and once in my home dir, put me in .mozilla/plugins.

You can "pwd" once you're there and see for yourself.

- Carlos

felin
April 22nd, 2007, 08:40 AM
Hi I used option 2 - I must be missin something basic here? wheen I get to the last command i get
bash: nspluginwrapper: command not found

FiggyG
April 22nd, 2007, 10:31 PM
Thanks for the guide Pinguin, got it working and wow... flawless on my system so far! I was about to install the 32-bit firefox but did this instead :D

Athlon 64 3000+, SB Audigy SE, X1600XT, 2GB RAM, Kubuntu Feisty
:popcorn:

radiobuzzer
April 23rd, 2007, 10:04 AM
just followed the HOWTO and had it perfectly working in Ubuntu Feisty. I haven't restarted yet. Let's see.

LHoT
April 23rd, 2007, 10:10 AM
Many thanks. Alternate method #2 works with Feisty with the following changes.

When you go to move the files, move them to /usr/lib/firefox/plugins/* and perform the nspluginwrapper command on that file specifically. The folder /usr/lib/mozilla/ did not exist on my system. Using a clean install of Ubuntu Feisty beta.

Thanks again!

Same here. But its saying I don't have permission to move the file to there. How do I move it. (I've tried dragging and dropping.

EDIT::: I got it

Edit part two::: Halp!
lhot@lhot-laptop:~$ nspluginwrapper -i /usr/lib/firefox/plugins/libflashplayer.so
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: /usr/lib/firefox/plugins/libflashplayer.so is not a valid NPAPI plugin

Kilz
April 23rd, 2007, 12:12 PM
Thanks for the guide Pinguin, got it working and wow... flawless on my system so far! I was about to install the 32-bit firefox but did this instead :D

Athlon 64 3000+, SB Audigy SE, X1600XT, 2GB RAM, Kubuntu Feisty
:popcorn:

Its nice that you got it working. Can you play the game at this website (http://www.wildsnake.com/webgame/sso/) with 64bit firefox?

dsegarra
April 23rd, 2007, 06:52 PM
For some reason Xubuntu is missing something that lets you play flash. Any ideas?? I know flash is installed with nspluginwrapper but lets say youtube wont display the interface where the play,stop buttons are. Any ideas???

AscendedDaniel
April 23rd, 2007, 10:24 PM
I got this working on Feisty Fawn Amd64 by following the instructions and choosing using alien to get nspluginwrapper.

Focus Fate
April 24th, 2007, 01:26 AM
I'm brand new to Linux, only have had Ubuntu Feisty Fawn 64bit a few days and a complete noob. But this guide (main post) using method 2 worked beautifully. No problems. Flash worked but youtube would still say java wasn't enabled. I merely restarted firefox and there it was working :) Restarted the system and it still works! Thanks for a 'noob' friendly guide!!!

fastpakr
April 24th, 2007, 07:51 AM
Hi I used option 2 - I must be missin something basic here? wheen I get to the last command i get

Same here... I feel sure I missed an obvious step - can somebody explain the error in our ways?

B->J->Eagle
April 24th, 2007, 04:13 PM
Thank you so much friend. This so totally helped me. And i did on Feisty Fawn 7.04. Thanks. i love you man.

chamithal
April 24th, 2007, 04:45 PM
ThnX pinguin! This works! Nice work! Keep it up!

But these bold parts shd be changed according to whats on your PC!
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

FiggyG
April 24th, 2007, 06:05 PM
Its nice that you got it working. Can you play the game at this website (http://www.wildsnake.com/webgame/sso/) with 64bit firefox?
Unfortunately, the browser closes when I click on the game to play. :(

boogachamp
April 24th, 2007, 06:47 PM
Hi,

I added:
deb http://janvitus.interfree.it/ubuntu/ feisty-janvitus main-amd64
deb-src http://janvitus.interfree.it/ubuntu/ feisty-janvitus main-amd64

to my sources.list and get this when I do an update:
W: GPG error: http://janvitus.interfree.it feisty-janvitus Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5CEBE24C2C4C84CC
W: You may want to run apt-get update to correct these problems


Am I doing something wrong?

marcio.mutti
April 24th, 2007, 07:02 PM
Thanks man. Alternative #2 worked flawlessly on my feisty 64 core2duo.
Many thanks.

boogachamp
April 25th, 2007, 09:57 AM
Even with the warnings everything worked flawlessly. Thank You for this!!!!

Wolfraem
April 25th, 2007, 11:46 AM
It actually works! I used Alternative 2.

I did encounter error messages, and the final file showed as simply "npwrapper.so" rather than "npwrapper.libflashplayer.so"

I'm not sure if this will cause issues for me in the future, but for now shockwave applets seem to work, so I'm satisfied.

trailrunner13
April 25th, 2007, 01:34 PM
First, pinguin, thanks. It's posts like yours that make the Ubuntu forums much more useful than many others. Plus everyone is so polite here. Very newbie friendly.

I was also successful in getting flash working, but had to do a few gyrations on # Alternative n. 2 to get there. I'm not a power user (I know enough to NOT rm *.* while root or any other time ;-) ), so I did a lot of your steps via GNOME GUI vs CLI. The only reason I'm putting my version of the process forward is to help out some other clueless newbies like me bumble their way through the install. Here goes:

I didn't have the alien package installed, but it's part of the Ubuntu Desktop "main" components group, so I was able to add it via Synaptic Package Manager. Super easy.
I also didn’t have the dpkg package installed, but it too is part of the "main" components group. However, since I'm a divot, I didn't think to install it. I didn't really know what dpkg was / does and thought it was a regular Linux / Unix command. When I tried from Terminal and Root Terminal and got errors, I figured there was something wrong with the .deb files. But I stumbled into the GDebi Package Installer in GNOME and tried that out. It did the deed on the .deb files, so I moved on. In retrospect, I now know why dpkg didn't work. Duh.
File Browser doesn't let you access certain folders if their permissions aren't just right. Since I didn't want to muck around doing chmod's all over the place and potentially harm something, I just used Root Terminal to cp "libflashplayer.so” and “flashplayer.xpt” over to /usr/lib/mozilla/plugins. This same "challenge" was addressed in http://ubuntuforums.org/showthread.php?t=341727&page=8&highlight=flash+feisty+firefox.
But since Terminal and Root Terminal can't get into any of the /. directories in my /home area (maybe someone can explain that to me), I was at a loss. I ended up using File Browser to copy “npwrapper.libflashplayer.so” into a non-/. directory, then used Root Terminal to cp it over to /usr/lib/mozilla/plugins/ and /usr/lib/mozilla-firefox/plugins/. Yes, yes, all have a chuckle at my expense. I don't mind.That's about it. The process took me a couple tries to get it right. The first time I failed to follow the very first step of installing the various *32* libraries. Later, I think because I was failing in different places and retrying different steps, I just plain messed things up. I ended up rm all the files I'd created, rebooted and started over from the beginning. It worked. I think the process is solid IF you execute the steps properly, which I didn't.

BTW... The names of the .rpm files I pulled down from http://gwenole.beauchesne.info (http://gwenole.beauchesne.info/) were named the same as in your steps:

nspluginwrapper-0.9.91.2-1.x86_64.rpm
nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm


But the .deb files generated by Alien were named differently:

nspluginwrapper_0.9.91.2-2_amd64.deb
nspluginwrapper-i386_0.9.91.2-2_amd64.deb


No matter, it still worked.

Judo
April 25th, 2007, 02:06 PM
The first method worked fine for me. Not even one error message. There seem to be some bugs, but they're annoying at worst.

Thank you very much.

Carlwill
April 25th, 2007, 02:26 PM
Its nice that you got it working. Can you play the game at this website (http://www.wildsnake.com/webgame/sso/) with 64bit firefox?

No - that is wanting the Java-Plugin for Firefox which I dont think is available for AMD64. Atleast I am looking for a way to make it work...

dogson
April 25th, 2007, 06:30 PM
Thank you, this works altho abit slow at times and controls in youtube videos are a abit flakey. i really hope adobe get its act together and releases a 64bit version of flash9

damvcoool
April 25th, 2007, 06:40 PM
I followed the guied and it worked flawlessly. it takes a little bit of time to load youtube and metacafe but it works :D even with audio :D

lifelover
April 25th, 2007, 06:56 PM
Everything went smooth until I wanted to move libflashplayer.so and flashplayer.xpt into the mozilla plugins folder. It did not let me to copy and paste the files. It says that I'm not the owner, so bye-bye. Any suggestions?

Judo
April 25th, 2007, 08:01 PM
Everything went smooth until I wanted to move libflashplayer.so and flashplayer.xpt into the mozilla plugins folder. It did not let me to copy and paste the files. It says that I'm not the owner, so bye-bye. Any suggestions?

Open up the terminal and type this and type in your password:
sudo nautilus
This will give Nautlius permission to copy and paste the files.

Toupee
April 25th, 2007, 09:56 PM
Maybe someone can help me out here.

I've followed all the steps up to nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so , and I get this error message:

/usr/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
nspluginwrapper: no appropriate viewer found for /usr/lib/mozilla/plugins/libflashplayer.so


I am running as root. I don't know if that has anything to do with it. (Don't ask.)

David Jenkins
April 26th, 2007, 06:24 AM
Well, I followed option 2 yesterday, and it worked perfectly.

Today I tried to look at a YouTube video - and just got a blank.

The only thing that's happened in-between was that I had loaded RealPlayer 10 - could this be interfering with this Flash installation?

David

UPDATE: I re-read the thread! :D Entering nspluginwrapper -v -a -i fixed it, as described elsewhere. As always, RTFM...

damvcoool
April 26th, 2007, 08:11 AM
I got nothing now!! :'( the only thing i did was that i turned my pc off. i did not installed anything or unistal anything.

LHoT
April 26th, 2007, 08:27 PM
Same here. But its saying I don't have permission to move the file to there. How do I move it. (I've tried dragging and dropping.

EDIT::: I got it

Edit part two::: Halp!
lhot@lhot-laptop:~$ nspluginwrapper -i /usr/lib/firefox/plugins/libflashplayer.so
*** NSPlugin Viewer *** preloader not found
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: /usr/lib/firefox/plugins/libflashplayer.so is not a valid NPAPI plugin


Please help. I'm not sure what I did wrong.

damvcoool
April 27th, 2007, 12:02 AM
I got nothing now!! :'( the only thing i did was that i turned my pc off. i did not installed anything or unistal anything.

i found my problem i have to fix the permission of the file that is on /usr/lib/firefox/plugins to make it 777 as the others.

kdkirsch
April 27th, 2007, 01:27 AM
Worked on first run without any problems. Thank you pinguin and Janvitus.

kdkirsch
April 27th, 2007, 01:32 AM
The best approach (instead of changing folder/file permissions) is to open Nautilus with sudo.
Issue the following command in the terminal:
sudo nautilus

you can even open nautilus to a specific directory, such as /usr/lib/mozilla, by issuing the following command:
sudo nautilus /usr/lib/mozilla

Hope this helps.

kdkirsch
April 27th, 2007, 01:39 AM
Please help. I'm not sure what I did wrong.

Regular users do not have the necessary privileges necessary to manipulate many key folders and files, e.g., /usr/.

The best way to make changes to these folder and files is to run Nautilus with sudo.

Issue the following command in the terminal:

sudo nautilus

You can also open Nautilus to a specific directory as follows:

sudo nautilus /usr/lib/mozilla

Hope this helps.

rgovind
May 4th, 2007, 03:02 PM
FLASH PLAYER 9 WORKING on AMD64 Feisty Fawn.
===========================================
Hey this worked like a charm on AMD64 Feisty Fawn. One small change though.

The wrapper landed here :

/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so

and not

"
in the folder .mozilla/plugins/ in our /home we can see the file “npwrapper.libflashplayer.so”, created from the previous command in the folder .mozilla/plugins/ in our /home we can see the file “npwrapper.libflashplayer.so”, created from the previous command.
"
Note : This is On Kubuntu

All that we
/usr/lib/mozilla-firefox/plugins$ sudo ln -s /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so npwrapper.libflashplayer.so

So a mentioned all that was required was



Humble request: Team Ubuuntu Not that this took long but it would be great make it easier to do stuff like this via a UI such as adept ( its so much more porductive for a non-techie).

forbitel
May 4th, 2007, 10:14 PM
works FINE in Feisty AMD64, with Firefox64... NICE.. thanks...

coolcalt
May 5th, 2007, 08:39 AM
this worked for me with the alternative 1 approach.

I'm running Feisty 64.

chevrier
May 7th, 2007, 10:21 PM
Amazing guide. Worked like a charm (ubuntu feisty on dell xps, core2duo). Thanks!

zmigliozzi
May 8th, 2007, 12:53 PM
Sweet this works on Feisty x86_64 no problems. Thanks for the help!

prestonrittenhouse
May 10th, 2007, 04:39 PM
Thank you, thank you, thank you. This was the *very* *last* *thing* I got fixed, after reinstalling eleventy-zillion development packages and praying it would all work. Even got slave MS XP up under vmware!

Preston, dual-core Ath64 3600, Nvidia GeForce 7300 LE, 1G, Feisty, baby!

penvzila
May 10th, 2007, 07:32 PM
This works for me, but if I close the browser and open it again, I have no Flash, and I have to to the whole process again.

Snargledorf
May 11th, 2007, 08:48 AM
Thanks for this this is the only tutorial for nspluginwrapper that made sense to me im in school now so I'll have to wait till i get home to try this. I currently have 32bit Firefox and it works fine but I miss the Ubuntu integration (right click to set background etc.) Hopefully this will work for me but even if it doesn't its still a good tut.

queency
May 11th, 2007, 04:24 PM
what about feisty ? ? ? amd64 machine

je1117
May 11th, 2007, 06:19 PM
WOW. Finally. Flash works with Feisty AMD64.

Now, does anyone know how to get Java working?

Guardia Republicano
May 11th, 2007, 06:40 PM
I think you should add this to the first post to complete the guide:

http://ubuntuforums.org/showpost.php?p=2095280&postcount=55

It runs for Festy AMD64. :lolflag:

Regards,
Pablo from Argentina.

Kilz
May 11th, 2007, 11:22 PM
WOW. Finally. Flash works with Feisty AMD64.

Now, does anyone know how to get Java working?

Nspluginwrapper does not work with the java plugin. You can try the blackdown 64bit plugin, but it causes the browser to crash for most people on every java applet. The other way is to install the 32bit browser with the link in my signature.

stealth17
May 12th, 2007, 02:52 AM
Worked perfectly on Feisty 7.04 per the instructions in the first post and the repository alternative.

Greatly appreciated, thanks!!

Corbelius
May 12th, 2007, 07:50 AM
WOW. Finally. Flash works with Feisty AMD64.

Now, does anyone know how to get Java working?

Install gcjwebplugin-4.1.

iam1e5
May 17th, 2007, 11:41 PM
help~!
im going crazy trying to install flash on ubuntu amd64 architechture~

for alternative 1:
iam1e5@iam1e5-desktop:~$ sudo apt-get install nspluginwrapper gsfonts-x11
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nspluginwrapper
iam1e5@iam1e5-desktop:~$

for alternative 2:
iam1e5@iam1e5-desktop:~$ sudo dpkg -i nspluginwrapper-0.9.91.2-1.x86_64.deb
Password:
dpkg: error processing nspluginwrapper-0.9.91.2-1.x86_64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
nspluginwrapper-0.9.91.2-1.x86_64.deb
iam1e5@iam1e5-desktop:~$

for alternative 3:
there is an error saying i dun have the permission to copy the files to the plugin folder

help help

rada
May 18th, 2007, 02:19 AM
Awesome!! Thank you. So good to have smooth video on my main workstation again.

I think you should add this to the first post to complete the guide:

http://ubuntuforums.org/showpost.php?p=2095280&postcount=55


Yes, as described in that link, I also have to use a launcher script running the following command before launching firefox.

nspluginwrapper -v -a -i

I did not have to move or copy files from /usr/lib/mozilla/plugins to /usr/lib/firefox/plugins.

sidrit
May 18th, 2007, 05:38 AM
pinguin, great job !
worked perfectly for me on first try.

thank you :)

iam1e5
May 19th, 2007, 09:16 AM
help~!
im going crazy trying to install flash on ubuntu amd64 architechture~

for alternative 1:
iam1e5@iam1e5-desktop:~$ sudo apt-get install nspluginwrapper gsfonts-x11
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nspluginwrapper
iam1e5@iam1e5-desktop:~$

for alternative 2:
iam1e5@iam1e5-desktop:~$ sudo dpkg -i nspluginwrapper-0.9.91.2-1.x86_64.deb
Password:
dpkg: error processing nspluginwrapper-0.9.91.2-1.x86_64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
nspluginwrapper-0.9.91.2-1.x86_64.deb
iam1e5@iam1e5-desktop:~$

for alternative 3:
there is an error saying i dun have the permission to copy the files to the plugin folder

help help

help help~
any1 can help me~?

hiruzzolo
May 20th, 2007, 06:42 AM
Hi I have a little problem with this.. Everything install smoothly and flash works in my firefox.. The little problem is that the click event in flash doesn't work perfectly.. I can click once (for example in a YouTube video) and than the click event doesn't work anymore for 20-30 seconds at least.. Is there anyone who can also experience this?

Corbelius
May 20th, 2007, 04:51 PM
help~!
im going crazy trying to install flash on ubuntu amd64 architechture~

for alternative 1:
iam1e5@iam1e5-desktop:~$ sudo apt-get install nspluginwrapper gsfonts-x11
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nspluginwrapper
iam1e5@iam1e5-desktop:~$



Have you dapper? my nspluginwrapper packages are only for edgy and feisty =)

gomera
May 20th, 2007, 08:34 PM
It works !!!! :D

Thanks a lot for the help. I was getting frustrated about not having flash on my x86_64 machine. I used to have firefox running as 32 bits but I don't think this was the correct solution. This workaround seems better and less intrusive.

Again, thanks a lot !

hoarder
May 23rd, 2007, 06:54 AM
I setup PulseAudio and everything works great, and the install of this Flash player works great, however, I cannot hear any audio, and I've tried setting firefoxrc to use both ALSA and Pulse. I have audio everywhere else, including embedded audio objects in Firefox, anyone have any clues?

hemebond
June 1st, 2007, 10:51 PM
Hi I have a little problem with this.. Everything install smoothly and flash works in my firefox.. The little problem is that the click event in flash doesn't work perfectly.. I can click once (for example in a YouTube video) and than the click event doesn't work anymore for 20-30 seconds at least.. Is there anyone who can also experience this?I also have this problem, though it's not a time delay for me. I click a button, but then have to click outside the Flash component before it'll accept another click. It looks like it's registering the click, but something isn't being triggered.

Midahed
June 2nd, 2007, 09:23 AM
Many, many, many thanks to Pinquin and some of the other contributors to this thread. Thanks to their efforts, I now have Shockwave Flash 9.0 r31 working fine on my AMD64 PC using Ubuntu 7.04 Feisty with the 64-bit version of Firefox 2.0.0.4.

Once I'd figured out where I was making mistakes and got over a couple of path differences, it all went very smoothly. And, as someone who's completely new to Linux, I've learnt a heck of a lot over the last few hours!

Without the help of this thread I might have given-up and gone back to Windows ;)

Thanks!

Mike

D!mon
June 2nd, 2007, 09:24 AM
yeah, though it still seems to be cause of terrible memory leaks sometimes:((

berthanas
June 3rd, 2007, 05:30 AM
thanks a lot for the help... it works perfectly with 64bit feisty for me...

jscheel
June 4th, 2007, 09:33 AM
Hi I have a little problem with this.. Everything install smoothly and flash works in my firefox.. The little problem is that the click event in flash doesn't work perfectly.. I can click once (for example in a YouTube video) and than the click event doesn't work anymore for 20-30 seconds at least.. Is there anyone who can also experience this?

I'm having the same problem. This is really frustrating... I think flash is teasing me! Nspluginwrapper is a wonderful utility though.

D!mon
June 4th, 2007, 12:41 PM
Can you watch youtube videos with this installation?

fabertawe
June 6th, 2007, 11:52 AM
Hi I have a little problem with this.. Everything install smoothly and flash works in my firefox.. The little problem is that the click event in flash doesn't work perfectly.. I can click once (for example in a YouTube video) and than the click event doesn't work anymore for 20-30 seconds at least.. Is there anyone who can also experience this?

I have this too, it seems to be affected by Beryl. Anyone else find it better with Metacity?

Paul

hiruzzolo
June 8th, 2007, 04:35 AM
Hi! does it happen to you too that sometimes after sometime (like 1 hour) you use the flash plugin, like in youtube,the box of the flash application become grey and you have to restart firefox to get it work again?

OldDog11
June 8th, 2007, 06:39 AM
Can someone please tell me how to do the following instruction.

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

I'm a newbie and when I enter the code it say that the nspluginwrapper is not found.

How do I "go into the folder with the downloaded .rpm files" and the use the code?

Thanks

mlabenda
June 8th, 2007, 11:40 AM
Worked for my like a champ !!!
Great HowTo

sra136
June 8th, 2007, 08:35 PM
Hooray for Pinguin. Much Props, seriously.

At first I didn't under why Alternatives 1,2 were not working. I realized, much to my stupidity, I didn't download the npluginswrapper .deb package. You have:

1. click on the link http://www.janvitus.netsons.org/repository/

2. click on the appropriate link for your Ubuntu version (mine was fiesty fawn amd64, and I chose the link with the deb, either link takes you to the page below).

3. click on the link http://janvitus.interfree.it/ubuntu/

4. click on "feisty-upure64"

5. click on "browse contents" next to main-amd64

6. scroll down to npluginwrapper and download the .deb package (nspluginwrapper_0.9.91.4-0ubuntu2~janvitus_amd64.deb)

7. double click on the nspluginwrapper_0.9.91.4-0ubuntu2~janvitus_amd64.deb and install it.

8. follow pinguin's instructions for "Down flash player 9 from Adobe..."

** make sure you are doing everything from your "root" account. Works like a charm!

dn*
June 12th, 2007, 10:02 PM
There is a (tedious) work around for the issue people are having with being able to interact with their flash videos (e.g. pausing and resuming YouTube videos) and that is to right click and change the quality settings e.g. from High to Medium and then back to High. You need to do it each time you want to click something though which makes it a pain.

Anyone know of any solutions to this problem? Or solutions to the Flash/AMD64 problem that isn't this guide or the Firefox32 solution?

Kilz
June 13th, 2007, 01:49 AM
** make sure you are doing everything from your "root" account. Works like a charm!

New users should think twice, and maybe a third time before activating the root account. It makes Ubuntu a little less secure. Besides , why do all that when you could just run the script in my signature?

Corbelius
June 13th, 2007, 08:52 AM
** make sure you are doing everything from your "root" account. Works like a charm!

Use "sudo" only to move libflashplayer.so, other commands not required it :)

Besides , why do all that when you could just run the script in my signature?

A .deb native package is much better of a package converted from a .rpm with alien :)

Kilz
June 13th, 2007, 09:03 AM
Use "sudo" only to move libflashplayer.so, other commands not required it :)


A .deb native package is much better of a package converted from a .rpm with alien :)

Maybe, its possible. But the package alien converts is from the developer of nspluginwrapper. I have fewer security concerns that way.

Alex&Linux
June 13th, 2007, 10:56 PM
Hey Lowfront, you werent able to find the package using apt-get install?
Check out "software souces" in "administration"
Make sure all repositories are enabled!

simplypatrick
June 14th, 2007, 12:33 AM
Awesome, This works great thanks! :popcorn:

Scott64
June 18th, 2007, 10:22 PM
Thanks very much! Not being able to use flash was getting on my nerves! :)

Carlwill
June 21st, 2007, 08:37 PM
Guys - I know this is a long thread however I am attempting to follow the steps on page one and I can't follow the 1st step as I can't find the following:

cwilliams@tunafish:~$ sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
ia32-libs-gtk
E: Package ia32-libs has no installation candidate


Any suggestions?

pinguin
June 22nd, 2007, 02:24 AM
check yours repository list
and
sudo apt-get update
then try again

Carlwill
June 22nd, 2007, 02:04 PM
When I go to "System" > Administration > Restricted Drivers, I get an error that tell me my system does not require restricted drivers. I really don't understand as I could use the nVidia drivers in Debian but Ubuntu does not like the 8600GTS or something like that.

Here is my xorg.conf

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

fabertawe
June 22nd, 2007, 05:07 PM
When I go to "System" > Administration > Restricted Drivers, I get an error that tell me my system does not require restricted drivers. I really don't understand as I could use the nVidia drivers in Debian but Ubuntu does not like the 8600GTS or something like that.

You need driver 100.* from the Nvidia site for 8600 support. I'd recommend the latest driver at the time of writing (100.14.11 (http://www.nvidia.com/object/linux_display_amd64_100.14.11.html)) as this has fixed some annoying bugs. It still doesn't play nice with Beryl on my system but I'll just have to bide my time on that one. I think Envy unstable supports an early 100.* release but I couldn't get it to install on my machine.

Take a look at these instructions (http://doc.gwos.org/index.php/Latest_Nvidia_Edgy#METHOD_2) for installing the Nvidia website driver (http://www.nvidia.com/object/linux_display_amd64_100.14.11.html).

In brief... save your work and go to a tty terminal (Ctrl Alt F1) and log in. Shut down the X server...
sudo /etc/init.d/gdm stop
Backup your Xorg config...
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
Install the