学习如何在Ubuntu 16.4上安装Adobe Flash Player。
Adobe Flash Player是一个浏览器插件,用于提供常规且引人入胜的用户体验、吸引人的音频/视频播放和有趣的娱乐游戏。它是运行SWF文件(一种用于在互联网上显示“动画”矢量图形的Adobe Flash文件格式)最重要的插件之一。本文介绍如何在Ubuntu上安装Adobe Flash Player。
前提条件
- 安装了Ubuntu的操作系统。
- 拥有root权限的用户或root用户。
- 预安装了**ubuntu-restricted-extras**软件包。
安装Adobe Flash Player
Adobe Flash Player需要ubuntu-restricted-extras软件包。由于法律或版权原因,此软件包包含Ubuntu中未包含的一些必要的软件。
要安装ubuntu-restricted-extras,请使用以下命令:
$ sudo apt-get install ubuntu-restricted-extras
示例输出如下:
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: cabextract chromium-codecs-ffmpeg-extra flashplugin-installer freepats gstreamer1.0-fluendo-mp3 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr i965-va-driver liba52-0.7.4 libaacs0 libass5 libavcodec-extra libavcodec-ffmpeg-extra56 libavfilter-ffmpeg5 libavformat-ffmpeg56 libavresample-ffmpeg2 libavutil-ffmpeg54 libbdplus0 libbluray1 libbs2b0 libchromaprint0 libcrystalhd3 libdc1394-22 libdca0 libde265-0 libdvdnav4 libdvdread4 libfaad2 libflite1 libfluidsynth1 libgme0 libgsm1 libgstreamer-plugins-bad1.0-0 libgtkglext1 libhardware2 libhybris libhybris-common1 libkate1 libmad0 libmedia1 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmp3lame0 libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libmspack0 libofa0 libopenal-data libopenal1 libopencore-amrnb0 libopencore-amrwb0 libopencv-calib3d2.4v5 ..................................................................................
安装**ubuntu-restricted-extras软件包**时,会显示如下所示的消息,要求您同意Microsoft软件的最终用户许可协议:
要在Ubuntu上安装Flash Player,请使用以下命令:
$sudo apt-get install flashplugin-installer
示例输出如下:
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: x-ttcidfont-conf ttf-bitstream-vera | ttf-dejavu ttf-xfree86-nonfree xfs The following NEW packages will be installed: flashplugin-installer 0 upgraded, 1 newly installed, 0 to remove and 289 not upgraded. Need to get 0 B/6,804 B of archives. After this operation, 59.4 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package flashplugin-installer. (Reading database ... 173884 files and directories currently installed.) Preparing to unpack .../flashplugin-installer_24.0.0.186ubuntu0.16.04.1_amd64.deb ... .....................................................................................
要验证Flash Player的状态,请打开Mozilla Firefox浏览器,并在URL栏中添加以下代码。
about:plugins
示例输出如下:
在本文中,我们学习了如何在Ubuntu 16.4上安装Adobe Flash Player。在我们的后续文章中,我们将提供更多基于Linux的技巧和提示。继续关注!
广告