Install and Enable Flash for Chromium on Ubuntu
In this article
To use Adobe Flash Player in Chromium on Ubuntu, you need to install the freshplayerplugin (which wraps Pepper Flash) or use the older pepperflashplugin-nonfree package. The simplest current method is to install the chromium-browser package from Ubuntu's repositories (which already includes Pepper Flash support) and then enable Flash in Chromium's settings. This guide covers the full process, including troubleshooting if Flash doesn't appear.
What You'll Need
- A Ubuntu system (20.04, 22.04, or 24.04) with internet access.
- Administrative (sudo) access to install packages.
- Chromium browser installed (if not, we'll install it).
- Note: Flash Player is discontinued by Adobe, but you can still run it for legacy sites. The steps below use official Ubuntu packages only.
Step-by-Step
- Update your package list
Open a terminal (Ctrl+Alt+T) and run:sudo apt update - Install Chromium
If you don't have Chromium yet, install it:sudo apt install chromium-browser
On Ubuntu 20.04 and later, this installs the snap version of Chromium by default. That's fine—the snap includes Pepper Flash support. - Install the Flash plugin package
For the snap version, you need thefreshplayerpluginpackage to bridge the Pepper Flash API to the NPAPI that some sites still expect. Run:sudo apt install freshplayerplugin
If you're on an older Ubuntu (18.04 or earlier) using the .deb version, you can instead installpepperflashplugin-nonfreeand then runsudo update-pepperflashplugin-nonfree --installto download the plugin. - Enable Flash in Chromium
Open Chromium. In the address bar, typechrome://settings/content/flash(or navigate to Settings > Site Settings > Flash). Toggle the switch to Allow sites to run Flash. If you don't see this option, your Chromium version may have removed it—see the Troubleshooting section. - Test Flash
Visit a site that uses Flash (e.g., an old game or a test page). If you see a puzzle icon in the address bar, click it and select Allow to run Flash for that site. Alternatively, you can add specific sites to the allow list in the Flash settings. - Restart Chromium
Close all Chromium windows and reopen it. Flash should now be active.
Common Mistakes
- Installing the wrong plugin: On modern Ubuntu, using
pepperflashplugin-nonfreewith the snap version of Chromium won't work because the snap is confined. Usefreshplayerplugininstead. - Forgetting to enable Flash in settings: Even after installing the plugin, Flash is off by default. You must toggle it to "Allow" in Chromium's settings.
- Using an outdated Chromium: Flash support was removed from Chromium in version 88 (January 2021). If your Chromium is newer than that, the Flash settings page may not exist. You'll need to use an older version or a different browser (like Firefox with the Flash NPAPI plugin).
- Not restarting the browser: The plugin won't load until you fully restart Chromium.
Tips
- For security, only enable Flash for sites you trust. Flash has many known vulnerabilities.
- If you need Flash for a specific site, add it to the allow list instead of enabling it for all sites.
- Consider using a virtual machine or a separate browser profile for Flash-only sites to reduce risk.
- If you're using the snap version, you can check if Flash is installed by visiting
chrome://componentsand looking for "Adobe Flash Player".
Troubleshooting
Flash doesn't appear in settings: If chrome://settings/content/flash shows nothing or says "Flash is no longer supported", your Chromium version is too new. Flash support was removed in Chromium 88. You have two options:
- Install an older version of Chromium (e.g., version 87) from a trusted archive. This is not recommended for security reasons.
- Use a different browser that still supports Flash, such as Firefox with the
flashplayerpackage (but note that Firefox also dropped NPAPI support in version 85, so you'd need an older Firefox).
Flash is installed but not working on a site: Check the site's permissions. Click the lock icon in the address bar, then look for "Flash" and set it to "Allow". Also ensure the site is not blocked by your ad-blocker or privacy extension.
Plugin not loading after install: Run sudo apt install --reinstall freshplayerplugin and restart Chromium. If you're using the snap, also run snap refresh chromium to ensure you have the latest version.
Error about missing libpepflashplayer.so: This usually means the plugin isn't installed correctly. For the snap, the plugin is bundled, but if you're using a .deb version, you may need to manually set the path in chrome://flags under "Override software rendering list"—but that's not Flash-related. Instead, ensure you installed freshplayerplugin and that the file exists at /usr/lib/chromium-browser/plugins/libpepflashplayer.so for .deb installs.
Frequently Asked Questions
Is Flash Player still available for Ubuntu?
Adobe discontinued Flash Player on December 31, 2020. However, you can still install and run it for legacy content, but it's not updated and is a security risk. The steps above work for older versions of Chromium.
Does the snap version of Chromium include Flash?
Yes, the snap version of Chromium includes the Pepper Flash plugin, but it's disabled by default. You need to enable it in settings as described.
Can I use Flash in Chromium on Ubuntu 24.04?
Ubuntu 24.04 ships with Chromium 124+ (snap), which no longer supports Flash. You cannot enable Flash in that version. You would need to install an older Chromium or use a different browser.
What is the difference between freshplayerplugin and pepperflashplugin-nonfree?
freshplayerplugin is a wrapper that lets Chromium's Pepper Flash (PPAPI) work with NPAPI-based plugins. It's used with the snap version of Chromium. pepperflashplugin-nonfree downloads the actual Flash plugin from Adobe and is used with the .deb version of Chromium (pre-20.04).
Is it safe to use Flash in 2024?
No. Flash has known security vulnerabilities and is no longer patched. Only use it on trusted sites, and consider using a dedicated virtual machine or container to isolate it.
Why does Chromium ask for permission to run Flash every time?
That's normal. Chromium treats Flash like a camera or microphone—it requires per-site permission. You can allow a site permanently by clicking the lock icon and changing the Flash setting to "Allow".