第 2 步:安装 Adobe Flash 插件

现在合作伙伴存储库已启用,我们要做的就是更新 Ubuntu 以从新启用的存储库下载最新的软件包,其中包括 Flash Player。
然后使用以下命令安装 Flash Player。

sudo apt-get update
sudo apt install adobe-flashplugin

当我们运行上述命令时,Ubuntu 将显示并提示我们接受将要安装在我们系统上的软件包。
键入 y 以继续

Reading package lists.  Done
Building dependency tree       
Reading state information.  Done
The following package was automatically installed and is no longer required:
  libpango1.0-0
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  adobe-flash-properties-gtk
Suggested packages:
  x-ttcidfont-conf msttcorefonts ttf-bitstream-vera | ttf-dejavu
  ttf-xfree86-nonfree xfs libnspr4-0d libnss3-1d
The following packages will be REMOVED:
  flashplugin-installer
The following NEW packages will be installed:
  adobe-flash-properties-gtk adobe-flashplugin
0 upgraded, 2 newly installed, 1 to remove and 97 not upgraded.
Need to get 10.5 MB of archives.
After this operation, 38.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

安装后,重新加载 Firefox,我们应该可以查看 Flash 生成的内容。

步骤 1:启用 Ubuntu 合作伙伴的软件包存储库

Adobe Flash Player 包含在合作伙伴的软件包存储库中。
为了安装它,我们必须启用存储库(如果尚未启用)。
有很多方法可以在 Ubuntu 中启用它。

我们可以使用 Ubuntu Desktop (Dash) 并搜索并打开软件和更新,然后选择其他软件选项卡,然后选中 Canonical Partners 旁边的框,如下图所示。

或者,我们可以使用命令行终端通过运行以下命令来快速启用合作伙伴存储库。

sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
如何在 Ubuntu 上安装 Adobe Flash Player
日期:2020-07-07 20:57:05 来源:oir作者:oir