給chromium安裝flash
sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install
或者,推薦更好的辦法,裝chrome,這個flash player 直接正常使用.
一、添加PPA
從Google Linux Repository(http://www.google.com/linuxrepositories/)下載安裝Key,或把下面的代碼複製進終端,回車,需要管理員密碼
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Key安裝好後,在終端輸入:
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
二、更新
在終端輸入:
sudo apt-get update
三、安裝
安裝穩定版Chrome,在終端輸入:sudo apt-get install google-chrome-stable
安裝Beta版Chrome,在終端輸入:sudo apt-get install google-chrome-beta
安裝不穩定版Chrome,在終端輸入:sudo apt-get install google-chrome-unstable