Thursday, July 4, 2013

Install Adobe Flash Player on Fedora 15, 16, 17, 18, 19, 20

Last Update (Jan 24 2014): Update for Fedora 20

Special Notes

For Google Chrome user, you do not need to install Flash Player since Google Chrome comes with its own Flash Player plugins. For Firefox user, you need to install Adobe Flash Player to play embedded video from YouTube and various websites.

This installation guide allows user to install Adobe Flash Player on Fedora 18, Fedora 19 and Fedora 20. The procedure is the same as the previous Fedora version ,therefore, you may also use the following procedure for Fedora 15, Fedora 16 and Fedora 17. 


Configuring YUM Repository File

First you need to download the rpm file from https://get.adobe.com/flashplayer/ 

Select  Yum for Linux as shown below.


Click Download now.

You will be downloading a file "adobe-release-x86_64-1.0-1.noarch.rpm".

You can install the rpm file immediately. Select Open with Software Install (default). See below:


Click Install if you want to install the rpm file immediately.


Alternatively, you can download the file into the Download folder so that you can perform the installation later.

To manually install the rpm file, navigate to your download folder and issue the following command:
sudo rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm

Then issue this command to import the keys:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

The above installation configures the YUM repository so that you could install Flash Player using YUM command.
You could make sure that the repository file is configure properly by looking for a file "adobe-linux-x86_64.repo" under the folder /etc/yum.repos.d/

Install Adobe Flash Player

The installation is very simple and straight forward, use the command:
sudo yum install flash-plugin

Please note that it may take a while for the plugin to take effect.

Refresh your browser and go to https://www.adobe.com/software/flash/about to verify your plugins installation. A little box will shown which version you have installed as shown below. Alternatively, you can visit https://www.youtube.com to test some of the videos. 




Automation Script

This automation will complete the installation, but you MUST manually download the rpm file from https://get.adobe.com/flashplayer/. Place the rpm file and the automation script in the same folder. The script will complete the rest.

You can download the automation script FC00-adobe-flash-player-install-x86_64.

To execute this script, use the following command to grant execution permission and execute the script.
chmod +x FC00-adobe-flash-player-install-x86_64
sudo ./FC00-adobe-flash-player-install-x86_64

For a full listing of the script, see below:

#! /bin/bash

# IMPORTANT: READ THIS FIRST
# You need to download Adobe repository program and place it in the folder with this script.
# This scripts installs and configure Adobe Flash Player for 64-bit system 
# You need root access to run this script

# Download the yum configuration from http://get.adobe.com/flashplayer/ and select ‘YUM for Linux’
# For 64 bit system, place the file 'adobe-release-x86_64-1.0-1.noarch.rpm' in the folder together with this script

# To run this script use chmod +x to give this script execution right
# To execute this script $sudo ./FC00-adobe-plash-player-install-x86_64

# Check if it is 64-bit
echo "Checking..."
if [ `uname -m` != "x86_64" ]; then
 echo "This is not a 64-bit system. This script is design for 64-bit system!"
 exit 1
fi 

# Installing Adobe Flash Player repository
if [ -f /etc/yum.repos.d/adobe-linux-x86_64.repo ]; then
 echo "Adobe repo file found"
else
 if [ -f adobe-release-x86_64-1.0-1.noarch.rpm ]; then
  rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm
  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
 else 
  echo "File NOT found! Please download the file adobe-release-x86_64-1.0-1.noarch.rpm from http://get.adobe.com/flashplayer/ and select YUM for Linux"
  echo "You need to place the file in the same directory as this script file!"
  exit 1
 fi
fi

# Installing Adobe Flash Player 
echo "Installing 64-bit Flash Player..." 
yum install -y flash-plugin


# Complete Installation
echo "Cleaning up ..."
if [ -f adobe-release-x86_64-1.0-1.noarch.rpm ]; then
 rm -f adobe-release-x86_64-1.0-1.noarch.rpm
fi
echo "Installation Complete"


*****

5 comments:

  1. Thanks gor the sharing!!
    -new fedora user

    ReplyDelete
  2. What is Automation Script, is this another method to install flash player?

    ReplyDelete
    Replies
    1. Yes, it is another method to install flash player. If you are new to Fedora, just follow the manual instruction.

      Delete
  3. I live in Cuba and i can´t download from adobe, is the flashplayer Free?? Not for Cuba

    ReplyDelete
    Replies
    1. I am sorry I am not sure if you can download flashplayer. Anyway it is no longer supported in Fedora. For web browsing, you can use Google Chrome.

      Delete

Note: Only a member of this blog may post a comment.