|
Just Beginning
Introduction Is Ubuntu for You?* Which Ubuntu to pick? Installing Ubuntu inside XP Plan Partitions Download and Burn Ubuntu Burn ISO from Mac Install Desktop CD Ubuntu Install Alternate CD Ubuntu* Modest Specs Where's the Terminal? Password in Terminal Install Software Extra Repositories* File Permissions Security in Ubuntu Next Steps Beyond the Basics Playing Around Troubleshooting * Off-site link |
Installing Flash on Ubuntu
Notes NotesAbout FlashFlash 9 was released by Adobe in mid-January of 2007. This page covers four ways of installing Flash 9 in Ubuntu. By installing Flash using any of these methods, you're agreeing to this End User License Agreement from Adobe.
If you have Ubuntu AMD64
If you're not using Firefox Brief summary of the four installation methods
sudo aptitude update && sudo aptitude install flashplugin-nonfree
sudo apt-get remove flashplugin-nonfree
This will remove Flash 7 if you have that already installed using the package manager. If the terminal tells you Package flashplugin-nonfree is not installed, so not removed or E: Couldn't find package flashplugin-nonfree, that's fine. We just wanted to make sure it wasn't installed.
rm ~/.mozilla/plugins/*flash*
Then, we remove any possibly locally-installed Flash plugins from your user profile. If the terminal moves to the next line, it means we actually removed the previously locally-installed Flash plugin. If you get a message saying rm: cannot remove `/home/username/.mozilla/plugins/*flash*': No such file or directory, then it means you never had it locally installed to begin with. In either case, you should proceed to the next command.
wget -c http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
This command downloads the Flash plugin from the Macromedia website. The -c option allows you to continue the download later should it get interrupted.
tar -xvzf install_flash_player_9_linux.tar.gz
Now, we unzip the .tar.gz file, which will then create a folder for us with the plugin inside.
For Ubuntu 6.06 and later sudo mv install_flash_player_9_linux/libflashplayer.so /usr/lib/firefox/plugins/
sudo mv install_flash_player_9_linux/flashplayer.xpt /usr/lib/firefox/plugins/
For Ubuntu 5.10 and earlier sudo mv install_flash_player_9_linux/libflashplayer.so /usr/lib/mozilla/plugins/
These commands move the Flash plugin to the appropriate plugins folder.
sudo mv install_flash_player_9_linux/flashplayer.xpt /usr/lib/mozilla/plugins/
rm install_flash_player_9_linux.tar.gz
Now that we have Flash installed, we don't need the .tar.gz any more, so let's remove it.
rm -r install_flash_player_9_linux
We can also remove the folder that used to have the plugin in it. If the terminal asks you rm: remove write-protected regular file `install_flash_player_9_linux/flashplayer-installer'? just type y for yes.
In order for Flash to get recognized properly, you may want to restart Firefox or make sure your non-Firefox browser points to the right plugins directory.
Now it's installed for all users.
|