本文主要介绍安装flash player、解码器vlc_codecs+ffmpeg-4和浏览器firefox、opera和chrome
一、flash player
其实早在2017年,Adobe公司就计划在2020年底彻底停止更新Flash播放器插件,现在有很多新技术都在逐步取代Flash,比如新一代HTML标准HTML5技术。经过这些年的发展,HTML5已经逐步完善,几乎可以实现Flash的全部功能。HTML5支持大量多媒体功能,如视频、音频、图像和动画。而且由于是原生HTML网页标准,所以不需要用户下载额外插件,极大地提升了使用体验。
到https://www.flash.cn/download下载——Linux系统——版本:34.0.0.137 发布时间:2021-04-13 大小:8.1MB ——Adobe Flash Player NPAPI版——支持Firefox 85版本以下运行Flash——Linux 64-bit——下载.rpm版
ruhong@localhost:~/download>
sudo zypper install ./flash-player-npapi-plugin-34.0.0.137-release.x86_64.rpm
localhost:~ # zypper search flash
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±-------------------------±-------------------------------------------------------±----------
| btcflash | Firmware flash utility for BTC DRW1008 DVD±RW recorder | package
| flash-player | Adobe Flash Standalone Player | package
| flash-player | Adobe Flash Standalone Player | srcpackage
| flash-player-debugsource | Debug sources for package flash-player | package
i+ | flash-player-ppapi | Adobe Flash Player PPAPI 26.0 | package
i+ | flash-plugin | Adobe Flash Player NPAPI | package
| flashfocus | Focus animations for tiling window managers | package
localhost:~ # zypper info flash-plugin
Loading repository data…
Reading installed packages…
Repository : @System
Name : flash-plugin
Version : 34.0.0.137-release
Arch : x86_64
Vendor : Adobe Systems Inc.
Installed Size : 20.6 MiB
Installed : Yes
Status : up-to-date
Source package : flash-plugin-34.0.0.137-release.src
Summary : Adobe Flash Player NPAPI
Description :
Adobe Flash Plugin 34.0.0.137
打开http://ssfw.njfy.gov.cn/ssfwzx/ext/flash/flash.jsp测试Flash 动画的网页,能够看到滚动的齿轮
二、解码器vlc codecs + ffmpeg-4
打开优酷https://www.youku.com/、酷狗https://www.kugou.com/或者网易云音乐https://music.163.com/ 等网站播放音乐、MV和视频就需要安装vlc codecs和ffmpeg-4
localhost:~ # zypper ar https://download.videolan.org/SuSE/Leap_15.2 vlc
localhost:~ # zypper refresh
localhost:~ # zypper install vlc-codecs
localhost:~ # zypper dup --from vlc --allow-vendor-change
这个过程就是为VLC媒体播放器安装解码器的过程
localhost:~ # zypper install ffmpeg-4
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following 3 NEW packages are going to be installed:
ffmpeg-4 libSDL2-2_0-0 libavdevice58_13
3 new packages to install.
Overall download size: 2.2 MiB. Already cached: 0 B. After the operation, additional 3.7 MiB will be used.
Continue? [y/n/v/…? shows all options] (y):
Retrieving package libSDL2-2_0-0-2.0.8-9.63.x86_64 (1/3), 392.3 KiB ( 1.2 MiB unpacked)
Retrieving: libSDL2-2_0-0-2.0.8-9.63.x86_64.rpm …[done (857.6 KiB/s)]
Retrieving package libavdevice58_13-4.4-bp153.1.1.x86_64 (2/3), 119.1 KiB (190.8 KiB unpacked)
Retrieving: libavdevice58_13-4.4-bp153.1.1.x86_64.rpm …[done]
Retrieving package ffmpeg-4-4.4-bp153.1.1.x86_64 (3/3), 1.7 MiB ( 2.4 MiB unpacked)
Retrieving: ffmpeg-4-4.4-bp153.1.1.x86_64.rpm …[done (1.9 MiB/s)]
Checking for file conflicts: …[done]
(1/3) Installing: libSDL2-2_0-0-2.0.8-9.63.x86_64 …[done]
(2/3) Installing: libavdevice58_13-4.4-bp153.1.1.x86_64 …[done]
(3/3) Installing: ffmpeg-4-4.4-bp153.1.1.x86_64 …[done]
安装完ffmpeg-4就可以播放优酷网站的视频了
三、安装浏览器opera
localhost:~ # zypper search opera
Loading repository data…
Reading installed packages…
S | Name | Summary | Type
—±------------------------------------±------------------------------------------±-------
| cilium-etcd-operator | Operator to manage Cilium’s etcd cluster | package
| cilium-operator | Kubernetes operator for Cilium | package
| openSUSE-release-tools-obs-operator | Server used to perform staging operations | package
i+ | opera | Proprietary web browser | package
| opera-beta | Fast and secure web browser | package
| opera-developer | Fast and secure web browser | package
| opera-stable | Fast and secure web browser | package
| opera-uget-integrator | Integration of uGet with Opera | package
localhost:~ # yum install opera
Retrieving repository ‘Opera packages’ metadata …[done]
Building repository ‘Opera packages’ cache …[done]
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following 9 NEW packages are going to be installed:
ffmpeg-4 libavdevice58 libavfilter7 libavformat58 libavresample4 libpostproc55 librtmp1 libswscale5 opera
The following recommended package was automatically selected:
ffmpeg-4
9 new packages to install.
Overall download size: 3.8 MiB. Already cached: 64.2 MiB. After the operation, additional 221.5 MiB will be used.
Continue? [y/n/v/…? shows all options] (y):
In cache librtmp1-2.4.20151223.fa8646d-pm152.1.9.x86_64.rpm (1/9), 65.7 KiB (133.1 KiB unpacked)
Retrieving package libpostproc55-4.2.1-pm152.2.9.4.x86_64 (2/9), 95.5 KiB (115.7 KiB unpacked)
Retrieving: libpostproc55-4.2.1-pm152.2.9.4.x86_64.rpm …[done]
Retrieving package libswscale5-4.2.1-pm152.2.9.4.x86_64 (3/9), 192.8 KiB (535.8 KiB unpacked)
Retrieving: libswscale5-4.2.1-pm152.2.9.4.x86_64.rpm …[done]
Retrieving package libavresample4-4.2.1-pm152.2.9.4.x86_64 (4/9), 100.7 KiB (143.8 KiB unpacked)
Retrieving: libavresample4-4.2.1-pm152.2.9.4.x86_64.rpm …[done (32.0 KiB/s)]
Retrieving package libavformat58-4.2.1-pm152.2.9.4.x86_64 (5/9), 930.6 KiB ( 2.2 MiB unpacked)
Retrieving: libavformat58-4.2.1-pm152.2.9.4.x86_64.rpm …[done (623.9 KiB/s)]
Retrieving package libavfilter7-4.2.1-pm152.2.9.4.x86_64 (6/9), 991.6 KiB ( 3.0 MiB unpacked)
Retrieving: libavfilter7-4.2.1-pm152.2.9.4.x86_64.rpm …[done (528.0 KiB/s)]
Retrieving package libavdevice58-4.2.1-pm152.2.9.4.x86_64 (7/9), 108.6 KiB (153.5 KiB unpacked)
Retrieving: libavdevice58-4.2.1-pm152.2.9.4.x86_64.rpm …[done]
Retrieving package ffmpeg-4-4.2.1-pm152.2.9.4.x86_64 (8/9), 1.5 MiB ( 2.0 MiB unpacked)
Retrieving: ffmpeg-4-4.2.1-pm152.2.9.4.x86_64.rpm …[done (608.0 KiB/s)]
In cache opera-68.0.3618.173-lp152.1.1.x86_64.rpm (9/9), 64.2 MiB (213.2 MiB unpacked)
Checking for file conflicts: …[done]
(1/9) Installing: librtmp1-2.4.20151223.fa8646d-pm152.1.9.x86_64 …[done]
(2/9) Installing: libpostproc55-4.2.1-pm152.2.9.4.x86_64 …[done]
(3/9) Installing: libswscale5-4.2.1-pm152.2.9.4.x86_64 …[done]
(4/9) Installing: libavresample4-4.2.1-pm152.2.9.4.x86_64 …[done]
(5/9) Installing: libavformat58-4.2.1-pm152.2.9.4.x86_64 …[done]
(6/9) Installing: libavfilter7-4.2.1-pm152.2.9.4.x86_64 …[done]
(7/9) Installing: libavdevice58-4.2.1-pm152.2.9.4.x86_64 …[done]
(8/9) Installing: ffmpeg-4-4.2.1-pm152.2.9.4.x86_64 …[done]
(9/9) Installing: opera-68.0.3618.173-lp152.1.1.x86_64 …[done]
会自动连带安装上一些解码器也是属于vlc和ffmpeg的
四、安装浏览器chrome
到https://www.google.cn/chrome/网站——下载Chrome——64位.rpm(适用于Fedora/openSUSE)——接受并安装——保存文件——大小为77M的google-chrome-stable_current_x86_64.rpm
localhost:~ # cd /home/ruhong/download
localhost:/home/ruhong/download # zypper install ./google-chrome-stable_current_x86_64.rpm
Loading repository data…
Reading installed packages…
Resolving package dependencies…
The following NEW package is going to be installed:
google-chrome-stable
1 new package to install.
Overall download size: 76.2 MiB. Already cached: 0 B. After the operation, additional 243.9 MiB will be used.
Continue? [y/n/v/…? shows all options] (y):
Retrieving package google-chrome-stable-92.0.4515.159-1.x86_64 (1/1), 76.2 MiB (243.9 MiB unpacked)
google-chrome-stable_current_x86_64.rpm:
Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Looking for gpg key ID 7FAC5991 in cache /var/cache/zypp/pubkeys.
Repository Plain RPM files cache does not define additional ‘gpgkey=’ URLs.
google-chrome-stable-92.0.4515.159-1.x86_64 (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): i
输入字母i并回车
Checking for file conflicts: …[done]
(1/1) Installing: google-chrome-stable-92.0.4515.159-1.x86_64 …[done]
Additional rpm output:
warning: /var/cache/zypper/RPMS/google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
屏幕左下角SUSE图标——应用——互联网——Google Chrome网页浏览器——不勾选“将Google Chrome浏览器设为默认浏览器——不勾选”将使用情况统计信息和崩溃报告自动发送给Google——确定
注意新版Google Chrome网页浏览器是不需要安装flash player的,本身有播放flash的功能