Ubuntu 12.04 64bit中安装firefox 26中的flash player插件的方法
昨天, 有最新的firefox 26更新了,可是我在软件更新中无法下载到ubuntu官方源中的flash plugin,详细的情况可以参见如下网页,这个问题我一年前也遇到过,特记录下来,以备后来查阅.
http://blog.sina.com.cn/s/blog_920dea7a01015g7n.html
http://hi.baidu.com/625879301/item/c3d1c4428071ae07896d10bb
直接在Ubuntu中无法顺利下载该插件,所以我采用直接从adobe官网下载该插件并解压安装的方法.
使用firefox浏览器打开,从http://www.adobe.com/products/flashplayer.html中找到下载页面,比如
http://get.adobe.com/cn/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_64-bit&standalone=1
选择tar.gz包格式,下载到本人用户目录的"下载"子目录下面
install_flash_player_11_linux.x86_64.tar.gz
按照包中readme.txt的提示
解压得到两部分文件:
o Unpack the tar.gz file. Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr
就是执行如下命令
cd ~/下载
sudo tar zxvf install_flash_player_11_linux.x86_64.tar.gz -C /usr/lib/mozilla/plugins/
cd /usr/lib/mozilla/plugins/
sudo cp -r usr/* /usr
注意最后一个命令是将usr目录下的子目录和文件复制到/usr下面,当然,这里采用移动命令更好
sudo mv usr/* /usr
然后删除不必要的文件
sudo rm -fr usr/
sudo rm readme.txt
下面验证下flash plugin是否发挥作用?
重新打开firefox浏览器,输入http://v.qq.com/,点击其中一个视频页面,如果视频能正常播放,则说明flash plugin是正常的.
昨天, 有最新的firefox 26更新了,可是我在软件更新中无法下载到ubuntu官方源中的flash plugin,详细的情况可以参见如下网页,这个问题我一年前也遇到过,特记录下来,以备后来查阅.
http://blog.sina.com.cn/s/blog_920dea7a01015g7n.html
http://hi.baidu.com/625879301/item/c3d1c4428071ae07896d10bb
直接在Ubuntu中无法顺利下载该插件,所以我采用直接从adobe官网下载该插件并解压安装的方法.
使用firefox浏览器打开,从http://www.adobe.com/products/flashplayer.html中找到下载页面,比如
http://get.adobe.com/cn/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_64-bit&standalone=1
选择tar.gz包格式,下载到本人用户目录的"下载"子目录下面
install_flash_player_11_linux.x86_64.tar.gz
按照包中readme.txt的提示
解压得到两部分文件:
o Unpack the tar.gz file. Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr
就是执行如下命令
cd ~/下载
sudo tar zxvf install_flash_player_11_linux.x86_64.tar.gz -C /usr/lib/mozilla/plugins/
cd /usr/lib/mozilla/plugins/
sudo cp -r usr/* /usr
注意最后一个命令是将usr目录下的子目录和文件复制到/usr下面,当然,这里采用移动命令更好
sudo mv usr/* /usr
然后删除不必要的文件
sudo rm -fr usr/
sudo rm readme.txt
下面验证下flash plugin是否发挥作用?
重新打开firefox浏览器,输入http://v.qq.com/,点击其中一个视频页面,如果视频能正常播放,则说明flash plugin是正常的.