ubuntu 8.04 AMD64位机上安裝flash player 10.1

来源:互联网 发布:曦力音视频转换软件 编辑:程序博客网 时间:2024/06/05 20:06

ubuntu 8.04 AMD64 安裝flash player 10.1

由于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/

 

最后重启浏览器就可以了。

 

转帖来源:http://blog.lefthander.tw/2010/06/ubuntu-804-amd64-flash-player-101.html

 

原创粉丝点击