Ubuntu How-to => Flash and Java

Many of the websites today require flash/java to view their content. However since they are not open source, they're not bundled in the default installation.

To install them first enable the requisite repos. (Read more about it in #-Link-Snipped-#)

NOTE: Whatever you see in bold is keyboard input

1. Press alt + F2 then type gnome-terminal (in case you use GNOME) or konsole (in case you use KDE) to fire up your terminal window.

2. Switch to the super user. Type sudo -i and when prompted, give your password.

WARNING - Working in the superuser mode is dangerous and not recommended unless you know what you're doing. Exit the superuser mode immediately after you have performed the installation. Type exit to quit the super user mode and return to your normal user login.

3. Type apt-get update (This will update your repository list.)

4. Type apt-get install adobe-flashplugin sun-java6-jre sun-java6-plugin sun-java6-fonts
If you use Ubuntu 7.10 or something older than that omit the adobe-flashplugin. Instead download the player directly from #-Link-Snipped-#.

5. After the installation is over, type
apt-get update
apt-get upgrade


That's it you're all set to watch videos on Youtube or play games on miniclip!!

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • durga ch

    @durga-TpX3gO Jul 21, 2009

    thats quite nice information. Embarassed to say But I used to do the installations from the synaptic package manager . sigh. I think I need to move on towards terminal installs. Thanks!

  • Aashish Joshi

    @aashish-VrevFC Jul 21, 2009

    Synaptic is a pretty nice app. But for new users it can be quite a challenge as sometimes there are lots and lots of options available even after searching for a specific software.

    There is a package available in ubuntu ubuntu-restricted-extras that will install flash, java, and mp3 codecs, et al in one go. I don't use it because it installs lots other stuff that I don't need.