Installing Flash on Linux (Centos, RHEL or OEL)

October 26, 2010  |  linux

Installing flash player on linux can be so simple as running 2 lines at your console as root user. Most of the people is not aware that Adobe provides a yum repository to ease this task.

For instance, if you installed Oracle software and you need a patch, probably you already note that Oracle support (metalink) only works with flash and Oracle does not provide an easy way to download patchsets or software without accessing this energy waster flash-based site!

So let’s work… here are the lines you are looking for:

rpm -i
yum install flash-plugin --enablerepo=adobe-linux-i386

The 1st command added the adobe repository to your /etc/yum.repos.d

[root@ip-10-227-42-15 root]# ls /etc/yum.repos.d -lht
total 16K
-rw-r--r-- 1 root root 709 Apr  8  2010 public-yum-el5.repo
-rw-r--r-- 1 root root 179 Jul 25  2007 adobe-linux-i386.repo

The second installed the flash plugin to your system and if you already have firefox installed it will add the flash plugin (symlink) to its directory:

[root@ip-10-227-42-15 root]# ls /usr/lib/flash-plugin -lht
total 12M
-rwxr-xr-x 1 root root  12M Sep 14 20:41
-rw-r--r-- 1 root root 3.1K Sep 14 19:48 README
-rw-r--r-- 1 root root  34K Dec 12  2006 LICENSE
-rwxr--r-- 1 root root 3.1K Dec 12  2006 setup
-rwxr--r-- 1 root root 1.4K Nov 16  2006 homecleanup
[root@ip-10-227-42-15 root]# ls /usr/lib/mozilla/plugins -lht
total 4.0K
lrwxrwxrwx 1 root root 39 Oct 26 03:56 -> /usr/lib/flash-plugin/

And there you go… up and running!

Leave a Reply