openSUSE Leap 15.0 Adobe Flash Player 安装说明
鉴于Firefox安装配置文件:
1 mozilla_lib=file $MOZ_PROGRAM 2 LIB=lib 3 echo $mozilla_lib | grep -q -E ‘ELF.64-bit.*(x86-64|S/390|PowerPC|ARM aarch64)’ && LIB=lib64 4 BROWSER_PLUGIN_DIR=/usr/$LIB/browser-plugins 5 if [ ! -d $BROWSER_PLUGIN_DIR ]; then 6 BROWSER_PLUGIN_DIR=/opt/netscape/plugins 7 fi
因此对于Firefox下的安装如下:
- 首先下载flash_player_npapi.tar.gz
- 然后解压 tar -xzf filename.tar.gz -C ./flash_player_npapi
- 修改权限 chmod -R 755 flash_player_npapi
- 复制文件:
- sudo cp libflashplayer.so /usr/lib64/browser-plugins/(64位Firefox)
sudo cp libflashplayer.so /usr/lib/browser-plugins/(32位Firefox) - sudo cp -r -i usr/* /usr/
- sudo cp libflashplayer.so /usr/lib64/browser-plugins/(64位Firefox)
- 重启Firefox