LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
Search this Thread
Old 12-09-2008, 03:27 AM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Rep: Reputation: 30
Can't run youtube videos


Which the program to be installed to run youtube

( it retuires latest Flash player like adobe but when i downloaded and
tried to install, a lot of problems are there)
Hence which program should I use to install the pluggins

like apt-get install programmname

thanks in advance
 
Old 12-09-2008, 04:14 AM   #2
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
You need to tell us which distribution you are using, so that we know exactly what the name of the package is. You do not download the Flash player from any third party, just use the repository. For instance, if you are using Ubuntu what you need to install is the Ubuntu restricted extras package via Add / Remove.

Robin
 
Old 12-09-2008, 07:06 AM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Original Poster
Rep: Reputation: 30
debian etch

I have installed packages like blender, gimp, qcad etc by

apt-get

but I don't know which name for the flash player
 
Old 12-09-2008, 07:27 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
add the following to your source-list
##### sunjava
deb http://ftp.us.debian.org/debian/ etch main contrib non-free

apt-ge update
apt-get install sun-java5-jre sun-java5-fonts sun-java5-plugin
update-java-alternatives --set java-1.5.0-sun
ln -s /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so
ln -s /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/iceweasel/plugins/libjavaplugin_oji.so
 
Old 12-09-2008, 08:28 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
If you want to use aptitude to install flash you can add the backports repository to etch..

http://packages.debian.org/etch-back...nfree/download

Add the backports repository to your sources.list.

aptitude update
aptitude inststall flashplugin-nonfree
 
Old 12-09-2008, 08:36 AM   #6
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Original Poster
Rep: Reputation: 30
E: Couldn't find package sun-java5-fonts
sun:/home/sunil# apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree... Done
Package sun-java5-jre 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 sun-java5-jre has no installation candidate


What next?
 
Old 12-09-2008, 08:40 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
did you run
apt-get update ?
 
Old 12-09-2008, 08:46 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
To use the backports repository you will also need to install the keyring.
You can do this with:

Code:
aptitude install debian-backports-keyring
Or:

Code:
wget -O - http://backports.org/debian/archive.key | apt-key add -
Obviously this should be done after modifying your sources list.
If you don't install the keyring apt or aptitude will give you an error message telling you it is missing, and cannot verify the relevant packages.
Here's a link to their website:

http://www.backports.org/dokuwiki/do...d=instructions

Regards.
The trooper.

Edit:
Also as Farslayer pointed out, to watch flash video,you need the flash plugin.
The java plugin unsurprisingly runs java applets in your browser,not flash.

Last edited by the trooper; 12-09-2008 at 08:58 AM.
 
Old 12-09-2008, 05:39 PM   #9
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Could you please post your /etc/apt/sources.list. I think there may be a problem in it, that is causing your dependency issues.
 
Old 12-10-2008, 12:28 AM   #10
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Original Poster
Rep: Reputation: 30
sun:/home/sunil# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib
#deb http://security.debian.org/ etch/updates main contrib
deb http://ftp.us.debian.org/debian etch main contrib
sun:/home/sunil#
 
Old 12-10-2008, 12:30 AM   #11
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 323

Original Poster
Rep: Reputation: 30
Earlier I have added the backports to my source.list but when it displayed some errors
I removed it.

Pls let me know how to add this
 
Old 12-10-2008, 05:06 AM   #12
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by sunils1973 View Post
Which the program to be installed to run youtube

( it retuires latest Flash player like adobe but when i downloaded and
tried to install, a lot of problems are there)
Just download the Adobe flash 10 .tar.gz file to your home directory from here:
http://get.adobe.com/flashplayer/
Click on the "select version to dowload" box to download the .tar.gz file.
Untar it:
Code:
tar -xvzf install_flash_player_10_linux.tar.gz
This will create a folder called install_flash_player_10_linux. Copy the libflashplayer.so in that folder to /usr/lib/mozilla/plugins
Code:
cp ~/install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/
Then restart Iceweasel or Epiphany. Go to youtube.com and enjoy!

Last edited by tommcd; 12-10-2008 at 05:09 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't play youtube videos vinic222 Linux - Newbie 29 10-13-2010 05:05 PM
How do Capture Google and Youtube Videos ? jquinn Linux - Software 6 04-01-2010 03:36 PM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM
youtube videos wont play dark_negotiator Fedora 7 07-02-2007 07:35 PM


All times are GMT -5. The time now is 07:56 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 Google+: linuxquestions
Open Source Consulting | Domain Registration