學習如何在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的技巧和提示。繼續關注!
廣告