重要提示: Adobe Flash Player 已於 2020 年 12 月 31 日正式停止支援,所有主流瀏覽器 (Firefox、Chrome、Edge) 均已移除 Flash 支援。本文內容僅供歷史參考或特殊舊系統維護情境,強烈不建議在現代環境安裝 Flash,存在嚴重安全風險。
Adobe 早於 2012 年停止 Linux 版 Flash Player 開發 (停留在 11.2 版),僅提供安全性更新至 2020 年。Linux 使用者若需較新版 Flash,過去常用 Fresh Player Plugin (Pepper Flash 包裝器) 搭配 Chrome 內建的 Pepper Flash (PPAPI) 在 Firefox (NPAPI) 上運作。
# Ubuntu 系列 (需 PPA,現多已失效)
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install freshplayerplugin
# 手動安裝 Pepper Flash (從 Chrome 擷取)
# 1. 下載 Chrome .deb
# 2. 解壓擷取 /opt/google/chrome/PepperFlash/libpepflashplayer.so
# 3. 放入 /usr/lib/adobe-flashplugin/ 或設定 freshwrapper.conf 指定路徑
# Ruffle 桌面版
wget https://github.com/ruffle-rs/ruffle/releases/latest/download/ruffle-nightly-linux_x86_64.tar.gz
tar xzf ruffle-nightly-linux_x86_64.tar.gz
./ruffle your_file.swf
# Adobe 官方獨立播放器 (已停止發布,僅存檔可用)
# 俗稱 "Flash Player Projector"
# Firefox 檢查
about:addons → 外掛程式 → 搜尋 Shockwave Flash
# 系統層級檢查
ls /usr/lib/adobe-flashplugin/ /usr/lib/pepperflashplugin-nonfree/ /opt/google/chrome/PepperFlash/
結論: 不要在 2024 年之後的任何 Linux 系統上安裝 Flash Player 或相關包裝器。擁抱 HTML5、WebAssembly 與 Ruffle 等現代安全技術,才是負責任的工程選擇。