Ubuntu 17.10下Flash插件已安装但无法正常使用求助
Hey Peter, I know how critical this is for your university courses—let’s work through this step by step to get Flash working again. Since you did a fresh install of 17.10 (instead of an upgrade), there might be leftover configs or incorrect package installs causing the problem.
Fixing Flash in Firefox
First, let’s wipe any existing Flash installations that might be broken, then start fresh:
Completely remove old Flash packages
Open a terminal and run these commands to purge any leftover Flash files:sudo apt purge adobe-flashplugin flashplugin-installer sudo apt autoremoveEnable the Multiverse repository (required for Flash)
Flash is hosted in Ubuntu’s Multiverse repo, so make sure it’s active:sudo add-apt-repository multiverse sudo apt updateReinstall the official Flash plugin
Install the stable Adobe Flash package for Firefox:sudo apt install adobe-flashpluginVerify and configure Firefox
- Restart Firefox, then type
about:addonsin the address bar. Go to the Plugins tab, find Shockwave Flash, and set it to Always Activate. - To double-check, visit a Flash test page and grant permission when prompted. If it still doesn’t load, try refreshing the page—sometimes the initial auth doesn’t trigger properly.
- Optional: For persistent activation, type
about:configin Firefox, search forplugin.state.flash, and set its value to2(this bypasses the click-to-activate prompt for Flash).
- Restart Firefox, then type
Fixing Flash in Chromium
Chromium uses a different Flash plugin (PPAPI) than Firefox, so we need to install the correct package:
Purge old Chromium/Flash packages
Clear out any existing Chromium Flash components:sudo apt purge chromium-browser-l10n chromium-codecs-ffmpeg-extra pepperflashplugin-nonfree sudo apt autoremoveReinstall Chromium and its Flash plugin
Install the required packages and update Flash to the latest version:sudo apt install chromium-browser pepperflashplugin-nonfree sudo update-pepperflashplugin-nonfree --installConfigure Chromium
- Restart Chromium, then type
chrome://pluginsin the address bar. - Find Adobe Flash Player, check the box next to Always allowed to run, and click Enable if it’s disabled.
- Test with a Flash page—you should now see the plugin load without issues.
- Restart Chromium, then type
Additional Troubleshooting Tips
- Update your system: Run
sudo apt update && sudo apt upgradeto ensure all system libraries are up to date—outdated dependencies can break plugin functionality. - Test with a clean browser profile: Sometimes corrupted user profiles cause issues. For Firefox, run
firefox -Pand create a new profile; for Chromium, runchromium-browser --user-data-dir=/tmp/test-chromium-profile. If Flash works here, your original profile has a problem (you can migrate bookmarks/settings to the new profile).
I’ve used these steps to fix similar Flash issues on Ubuntu 17.10 before, so they should get your plugins working again for your courses.
内容的提问来源于stack exchange,提问作者Peter

