LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-12-2009, 09:37 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Rep: Reputation: 49
How can I install flash swf for Lenny?


Hello,

After some steps to install swf, i.e. two packages. I am not 100% sure the first one was needed, though. I first installed the package flashplayer-mozilla, which uninstalled flashplugin-nonfree as a side effect. This step alone fixed nothing.

So firefox has no swf youtube working

Why we have in lenny : xmms2
iceape does not exist anymore
and firefox, sometimes can be installed, and sometimes not.
what's wrong, why do they change all the time the names of the packages?
 
Old 06-12-2009, 09:55 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 632
Blog Entries: 11

Rep: Reputation: 34
Exactly what browser are you using? Which one do you want to install flashplayer for?
 
Old 06-12-2009, 12:03 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,438
Blog Entries: 11

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
flashplayer-mozilla and flashplugin-nonfree both install Adobe Flash, if your flash still isn't working in iceweasel look in about:plugins to see what it is trying to use for flash.

iceape was removed for various reasons look in the BTS.Iceweasel should always install if your using Mozilla Firefox instead you will need to either copy or symlink your plugins.

xmms was removed from Debian because it was dead upstream.

Packages get dropped usually when they are either dead upstream or when someone stops maintaining them.

The best way to install the flash plugin is still to install flashplugin-nonfree from either backports or sid (backports if you're running stable or earlier, sid for testing+).

This will install the latest version of flashplayer directly from adobe. It will also setup the links necessary for the alternatives system to work properly (assuming you haven't totally messed them up due to earlier attempts). And you can update to a more recent flash release simply by running:
Code:
# update-flashplugin-nonfree
If you do this properly you can even have adobe flash, swf, and gnash all installed at the same time using whichever one suits you at the moment simply by adjusting the alternative link. Easiest way to play with alternatives is probably using the gui (galternatives) but update-alternatives works fine as well. You'd start with:
Code:
# update-alternatives --config flash-mozilla.so
and choose the correct alternative (if more than one is installed)

Last edited by craigevil; 06-12-2009 at 02:16 PM.
 
Old 06-12-2009, 04:40 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
thank you for the answers and help
hmmm ... bit tricky :-(
Code:
b# update-flashplugin-nonfree --install
gpg failed to import /usr/lib/flashplugin-nonfree/pubkey.asc
robotech:/home/frenchn00b# update-alternatives --config flash-mozilla.so

There is only 1 program which provides flash-mozilla.so
(/usr/lib/swfdec-mozilla/libswfdecmozilla.so). Nothing to configure.
 
Old 06-13-2009, 01:54 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
Code:
Get:1 http://debian-multimedia.org lenny/main flashplayer-mozilla 1:10.0.22.87-0.1 [3963kB]
Fetched 3963kB in 11s (357kB/s)                                                                                                                                                                                    
(Reading database ... 185383 files and directories currently installed.)
Removing flashplugin-nonfree ...
Processing triggers for man-db ...
Selecting previously deselected package flashplayer-mozilla.
(Reading database ... 185373 files and directories currently installed.)
Unpacking flashplayer-mozilla (from .../flashplayer-mozilla_1%3a10.0.22.87-0.1_i386.deb) ...
Setting up flashplayer-mozilla (1:10.0.22.87-0.1) ...
now I tried this:
but I get grey icons instead of flash
http://img140.imageshack.us/i/flashlenny.jpg/
 
Old 06-13-2009, 02:10 AM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
It worked !!
So:

this does NOT work:
Code:
 apt-get install flashplugin-nonfree
this does work:
Code:
 apt-get -t lenny-backports install flashplugin-nonfree
I mean, cannot we put the backport always working, by default since the regular/stable packages from debian are crap for flashplugin?

Luckily that backport is there !! it's cool
 
Old 06-15-2009, 09:36 AM   #7
garywk
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian (sarge)
Posts: 20

Rep: Reputation: 0
Quote:
Originally Posted by frenchn00b View Post
It worked !!
So:

this does NOT work:
Code:
 apt-get install flashplugin-nonfree
this does work:
Code:
 apt-get -t lenny-backports install flashplugin-nonfree
I mean, cannot we put the backport always working, by default since the regular/stable packages from debian are crap for flashplugin?

Luckily that backport is there !! it's cool
I have run across this behavior. It's always been on a fresh install. What I have found to be the reason is that the swfdec packages are installed by default, and made to be the default engine for playing flash media. The problem seems to be that the swfdec packages don't always play all/newer flash content. Just installing the proprietary flash player doesn't seem to change the default. Removing the swfdec packages allows the Adobe flashplayer package to work as desired as it then becomes the default player for flash media.
 
Old 06-23-2009, 11:48 AM   #8
bliss4one
LQ Newbie
 
Registered: Dec 2006
Location: Denver, CO
Distribution: Debian Lenny 5.0
Posts: 23

Rep: Reputation: 15
OK, I tried the following from this forum question:

Originally Posted by frenchn00b View Post
It worked !!
So:

this does NOT work:
Code:

apt-get install flashplugin-nonfree

this does work:
Code:

apt-get -t lenny-backports install flashplugin-nonfree




And I got the following in the root terminal:
tsuru1:/home/maillo# apt-get - lenny-backports install flashplugin-nonfree
E: Invalid operation lenny-backports

What next???
 
Old 06-23-2009, 12:22 PM   #9
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Did you add lenny-backports to your /etc/apt/sources.list file?

I typically use the flashplayer-mozilla from debian multimedia instead because I get MythTV from there anyway (less repositories to mess with).
 
Old 06-23-2009, 01:21 PM   #10
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,230
Blog Entries: 5

Rep: Reputation: 185Reputation: 185
Example sources list containing both debian-multimedia and debian backports.

Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/  lenny main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://www.backports.org/debian lenny-backports main contrib non-free

deb http://www.debian-multimedia.org lenny main
don't forget to install the keyring for the new repositories when you add them

aptitude update
aptitude install debian-multimedia-keyring debian-backports-keyring
 
Old 06-23-2009, 03:23 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,438
Blog Entries: 11

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
And I got the following in the root terminal:
tsuru1:/home/maillo# apt-get - lenny-backports install flashplugin-nonfree
E: Invalid operation lenny-backports

You left out the -t

For backports you would use apt-get -t lenny-backports install packagename

Or just do it the easy/lazy way and use Synaptic.

A well rounded sources.list for Lenny/stable that gives you pretty much any package you will ever need as well as updates.

#Stable
#deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable Sources
#deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
#deb http://security.debian.org/ stable/updates main contrib non-free

# Debian Stable Backports
#deb http://www.backports.org/debian lenny-backports main contrib non-free

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
deb http://www.debian-multimedia.org lenny main

I do not run a server just a normal desktop and in the 5 years I have ran Debian
I have yet had to look outside of the repos for a package.Even skype, google and opera have repos.

There is a thread stickied in the Debian forum where people have posted there sources.list if you need something that isn't in one of the above repos.
 
Old 06-23-2009, 03:26 PM   #12
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by craigevil View Post
A well rounded sources.list for Lenny/stable that gives you pretty much any package you will ever need as well as updates.

#Stable
#deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable Sources
#deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
#deb http://security.debian.org/ stable/updates main contrib non-free

# Debian Stable Backports
#deb http://www.backports.org/debian lenny-backports main contrib non-free

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
deb http://www.debian-multimedia.org lenny main
My only comment would be to replace the "stable" in the first few lines with "lenny". That way when Squeeze becomes stable you don't accidentally end up with a mixed Squeeze and Lenny system (though likely you don't have to worry about that until early 2011 when Squeeze becomes stable).
 
Old 06-23-2009, 03:38 PM   #13
rerushg
Member
 
Registered: Dec 2008
Location: South Carolina
Distribution: Debian testing
Posts: 57

Rep: Reputation: 16
I guess I'm the dummy here. I just DL'd the Flash deb package from Adobe and ran dpkg against it. Works fine.
 
Old 06-23-2009, 03:57 PM   #14
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,230
Blog Entries: 5

Rep: Reputation: 185Reputation: 185
those additional repositories (debian-multimedia and backports) cover far more software than just that flash package..
so adjusting your sources list can address more than one issue.

yes you can manually download and install it, but why bother when a more comprehensive fix is so easily available ?

Last edited by farslayer; 06-23-2009 at 10:11 PM.
 
Old 06-23-2009, 04:43 PM   #15
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,438
Blog Entries: 11

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Quote:
Originally Posted by rerushg View Post
I guess I'm the dummy here. I just DL'd the Flash deb package from Adobe and ran dpkg against it. Works fine.
.deb package is for Ubuntu Not Debian.

Ubuntu 7.10 or later or 8.04 or later
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install Adobe Flash in Debian Etch/Lenny/Sid LXer Syndicated Linux News 1 01-06-2009 07:30 AM
flash(swf) editor for linux? max020 Linux - Software 11 06-10-2007 04:47 PM
SWF/Flash decompiler introuble Programming 1 06-18-2006 05:00 AM
SWF/Flash decompiler introuble Linux - Software 0 06-18-2006 03:59 AM
Using flash movies as .swf phil989 General 3 02-19-2006 05:11 AM


All times are GMT -5. The time now is 02:12 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration