1. 從Adobe下載Flash安裝程序,並且解壓。
tar -xzvf install_flash_player_10_linux.tar.gz
2. 把解壓出來的“libflashplayer.so” 複製到 /usr/lib/mozilla/plugins 目錄下。
sudo cp libflashplayer.so /usr/lib/mozilla/plugins
3. 執行以下命令:
nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
如果nspluginwrapper沒裝的話,安裝一下:
sudo apt-get install nspluginwrapper
4. refresh瀏覽器,試試能不能看Flash了。
SPluginWrapper
NSPluginWrapper is a cross-platform Netscape 4(NPAPI) compatible plugins viewer. It makes itpossible to use plugins that are not available yetto a specific platform. For example, you can usethe Adobe Flash Player 9 (Linux/i386) plugin onLinux/x86_64, NetBSD, and FreeBSD platforms alongwith a native JVM in the same browser.NSPluginWrapper is also useful to confine nativeplugins into a specific execution domain forreliability and security purposes.