Sunday, 28 December 2014

script to install flash player on CentOS, Fedora, RedHat

script to install  flash player on CentOS, Fedora, RedHat


Writer: Anuj Borah
Email: anujborah1@gmail.com

#!/bin/bash
clear
if [ $UID -eq 0 ]
then
echo "Downloading the necessary file ....  wait"
sleep 3
wget "http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.425/install_flash_player_11_linux.x86_64.tar.gz"

clear
tar -zxvf install_flash_player_11_linux.x86_64.tar.gz

clear
cp libflashplayer.so /usr/lib64/mozilla/plugins/ > /dev/null
cp -r usr/* /us > /dev/null
echo "Configuration on the way... have patient..."

sleep 3

clear
echo "All Done , Restart firefox now ."

else
echo "&&&&&&This Script will run as root only ,  login as root and try $0  again. &&&&&&"
fi

No comments:

Post a Comment

Popular Posts