最近開始使用64bit的ubuntu當桌機使用,
發現flash怪怪的,
會導致瀏覽器當機,
想跟換一下flash player看看,
發現adobe flash 10.1 沒有64位元版本的deb,
只好手動安裝了。
過程如下:
#Downloading and instaling Getlibs for required libraries
$wget -O getlibs-all.deb http://frozenfox.freehostia.com/cappy/getlibs-all.deb
$sudo dpkg -i getlibs-all.deb
#Removing previous installs of flash
$sudo rm -f /usr/lib/mozilla/plugins/*flash*
$sudo rm -f ~/.mozilla/plugins/*flash*
$sudo rm -f /usr/lib/firefox/plugins/*flash*
$sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
$sudo rm -rfd /usr/lib/nspluginwrapper
#Installing ia32-libs and nspluginwrapper
$sudo apt-get install ia32-libs nspluginwrapper
#echo "Getting libs"
$sudo getlibs -p libcurl3
$sudo getlibs -p libnss3-1d
$sudo getlibs -p libnspr4-0d
#echo "Installing Flash Player 10"
$wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
$tar zxvf install_flash_player_10_linux.tar.gz
$sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
$rm -rf ~/install_flash_player_10_linux/
$sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
#Linking the libraries so that firefox can see them
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
$sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
沒有留言:
張貼留言