标签:main class path webp native rod present because lte
Translation(s): English - Espa?ol - Fran?ais - Italiano - Русский - 简体中文
Flash > Adobe Flash Player
Please note that Flash will be EOL at the end of 2020 so you should migrate any use of Flash to HTML5 as soon as possible.
Adobe Flash Player is a multimedia platform used to add animation, video, and interactivity to Web pages. Flash is frequently used for advertisements and games. |
Contents
The newest versions of the Debian package flashplugin-nonfree have this warning in the package description:
WARNING: Installing this Debian package causes the
Adobe Flash Player to be downloaded from www.adobe.com.
The End User License Agreement of the Adobe Flash Player
is available at www.adobe.com.
1. Download the latest Adobe Flash Player for Linux from https://get.adobe.com/flashplayer/
On 64bit systems, it should be: flash_player_npapi_linux.x86_64.tar.gz
Alternatively, you can download it from: https://get.adobe.com/flashplayer/otherversions/
2. Unpack the tar.gz file: tar -xzf flash_player_npapi_linux*.tar.gz
3. Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version:
Example: Debian 9 Stretch + Firefox 52.4.0 (64-Bit): /usr/lib/mozilla/plugins/
Example: Debian 9 Stretch + Firefox 62+ (64-Bit): ~/.mozilla/plugins/
*Please note you may have to create this directory if it does not exist*
4. Copy libflashplayer.so to the appropriate browser plugins directory: sudo cp libflashplayer.so <browserpluginlocation>
Example: sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
5. Copy the Flash Player Local Settings configurations files to the /usr directory: sudo cp -r usr/* /usr
6. Restart Firefox.
1. Download the latest Adobe Flash Player for Linux from https://get.adobe.com/flashplayer/
On 64bit systems, it should be: flash_player_ppapi_linux.x86_64.tar.gz
2. Unpack the tar.gz file: tar -xzf flash_player_ppapi_linux*.tar.gz
3. Copy libpepflashplayer.so to the appropriate lib directory: sudo cp libflashplayer.so <browserpluginlocation>
Example: sudo cp flash/libflashplayer.so /usr/local/lib
4. Check the version of the flash plugin from the manifest.json file
Example: grep flash/manifest.json version
5. Restart Chromium with parameters of flash plugin location and version: chromium --ppapi--flash-path=<browserpluginname> --ppapi-flash-version=<browserpluginversion>
Example: chromium --ppapi-flash-path=/usr/local/lib/libpepflashplayer.so --ppapi-flash-version=31.0.0.153
1. Download and execute this shell script (fireflashupdate) with the following commands:
wget https://raw.githubusercontent.com/cybernova/fireflashupdate/master/fireflashupdate.sh
chmod +x fireflashupdate.sh
./fireflashupdate.sh
2. Restart Firefox
Note : flashplugin-nonfree package is not in the stable distribution. Refer to the Manual update method.
Ensure your /etc/apt/sources.list file includes the contrib section ( for more information see sources.list )
# apt-get install flashplugin-nonfree
How to update the Adobe Flash Player:
# update-flashplugin-nonfree --install
If this fails with "ERROR: wget failed to download ...", try the Manual update.
When running update-flashplugin-nonfree --install you might get the following error:
ERROR: wget failed to download http://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/fp.24.0.0.221.sha512.amd64.pgp.asc
Unfortunately this is a recurring bug, anyway you can upgrade the plugin manually following this procedure:
Download the latest release of the plugin in tar.gz format from https://get.adobe.com/flashplayer/
As root, extract the tar.gz package and copy libflashplayer.so to /usr/lib/flashplugin-nonfree
chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so
chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so
Check that the relevant /etc/alternatives entry is correct (this shouldn‘t be required if the plugin was working properly before the upgrade) update-alternatives --list flash-mozilla.so should return /usr/lib/flashplugin-nonfree/libflashplayer.so If that‘s not the case, you can fix it with: update-alternatives --quiet --install /usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so 50
(the procedure is based on the one suggested at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851066#30)
Note that the filename may be libpepflashplayer.so for the PepperFlashPlayer variant.
How to Uninstall the Adobe Flash Player, and the flashplugin-nonfree package:
# update-flashplugin-nonfree --uninstall
# apt-get remove flashplugin-nonfree
Opera >= 9.50 beta 1
If you find a problem with flashplugin-nonfree, then you are most welcome to report it in the Debian bug tracking system. However, we cannot modify the Adobe Flash Player to fix problems in Debian. So if you find a problem with the Adobe Flash Player, then please report it to Adobe.
If you have found a workaround for a problem, then you are welcome to add an entry in the "troubleshooting" section below.
Proxy : The package flashplugin-nonfree has "its own internal solution" for caching the big .tar.gz downloaded from Adobe. Downloading fp10.*.pgp.asc is not cached by flashplugin-nonfree. My advice is to never use a caching proxy with flashplugin-nonfree, because a retrieval of fp10.*.pgp.asc from cache might result in a security update to be installed later than it should. If you must use a proxy because you have no direct way to the internet, then obviously you have no choice than to use the proxy. Then this should work:
http_proxy=http://my.proxy.intranet:8080/ apt-get install flashplugin-nonfree
or
https_proxy=http://my.proxy.intranet:8080/ apt-get install flashplugin-nonfree
Also this should work:
http_proxy=http://my.proxy.intranet:8080/ update-flashplugin-nonfree --install
or
https_proxy=http://my.proxy.intranet:8080/ update-flashplugin-nonfree --install
Or, with a different environment variable than http_proxy, see: http://www.gnu.org/software/wget/manual/html_node/Proxies.html
Remember that if you need the Flash Player to work with pulse, you can ask libasound to do so in your ~/.asoundrc:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
To verify the Adobe Flash Player version number installed on your system, access the About Flash Player page, or right-click on content running in Flash Player and select "About Adobe (or Macromedia) Flash Player" from the menu. If you use multiple browsers, perform the check for each browser you have installed on your system. (Source: Flash player security bulletins). Flash Player 11.2 is the last supported Flash Player version for Linux. Adobe will continue to provide security updates. (Source).
Adobe dropped support of processors without SSE2 on Linux (you can check with "grep ^flags /proc/cpuinfo" the letters "sse2" should be in the list) in an early point release of Flash Player 11. The player will install, but then crashes when it is invoked. This mostly affects older 32bit AMD processors. You can install Flash Player 10 from Adobe, see 697339.
In case the plugin causes high cpu-usage, you can try this: create /etc/adobe/mms.cfg:
# Adobe player settings
AVHardwareDisable = 0
FullScreenDisable = 0
LocalFileReadDisable = 1
FileDownloadDisable = 1
FileUploadDisable = 1
LocalStorageLimit = 1
ThirdPartyStorage = 1
AssetCacheSize = 10
AutoUpdateDisable = 1
LegacyDomainMatching = 0
LocalFileLegacyAction = 0
AllowUserLocalTrust = 0
# DisableSockets = 1
OverrideGPUValidation = 1
Hardware video decoding was considered experimental in FP 10.3 and is not supported in FP 11 for stability reasons and can cause crashes. It is not documented in official Flash Player Admin Guides. Enable at user discretion.
EnableLinuxHWVideoDecode = 1
Otherwise, a solution for users on netbooks with an accelerated video card as Intel 945GM and Atom CPU is to downgrade to FP10, in this way you can use again the GPU acceleration features instead of wasting CPU. But this is not recommended since Adobe will only provide security updates for FP 11.2.
AssetCacheSize = 50
LocalStorageLimit = 5
If your Chromium or Google Chrome browser window is flickering, blinking constantly on some webpages, this issue is cause by Flash player, the following steps might fix that issue.
标签:main class path webp native rod present because lte
原文地址:https://www.cnblogs.com/augustone/p/10293101.html