Jump to content
Sign in to follow this  
mizzy

Installing Flash Player

Recommended Posts

next up, lets install the Flash plugin

use vi to create a new file

 

 

vi /etc/yum.repos.d/flash.repo

 

 

now copy the below and paste it into the file

 

 

[macromedia]

name=Macromedia for i386 Linux

baseurl=http://macromedia.mplug.org/rpm/

enabled=1

gpgcheck=1

gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY

 

 

 

save the file with :wq

 

 

yum -y install flash-plugin

 

I have followed that right up the the red bit. After I have pasted the above into terminal and literally did...

 

[macromedia]
name=Macromedia for i386 Linux
baseurl=http://macromedia.mplug.org/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY

:wq

 

[pressed return key]

 

It don't do anything :huh:

Share this post


Link to post
Share on other sites

no no no

 

you dont paste it into a terminal, you paste it into the application called 'vi'

 

like so

 

vi somefile.txt

 

then paste some stuff into that file

 

then to SAVE your changes and EXIT vi you must type the following (press ESCape first to exit INSERT/REPLACE mode)

 

:wq

 

the : tells vi it's going into COMMAND mode, the 'w' tells vi to WRITE the file (save) and the 'q' tells vi to QUIT

 

please try this again

 

cheers

anyweb

Share this post


Link to post
Share on other sites

Ohh right, I didn't realise that I had to press exit. Never used VI before, must apologies :)

 

Still got a slight problem. I've even logged into root to delete the original file, but I still hit a dead wall. When I do:

 

vi /etc/yum.repos.d/flash.repo

it gives me...

 

E325: ATTENTION
Found a swap file by the name "/etc/yum.repos.d/.flash.repo.swp"
	  owned by: root   dated: Sat Jul  8 15:14:04 2006
	 file name: /etc/yum.repos.d/flash.repo
	  modified: YES
	 user name: root   host name: localhost.localdomain
	process ID: 19454
While opening file "/etc/yum.repos.d/flash.repo"

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/yum.repos.d/flash.repo"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/yum.repos.d/.flash.repo.swp"
to avoid this message.
"/etc/yum.repos.d/flash.repo" [New File]
Hit ENTER or type command to continue

 

I hit [Enter] and then re-paste...

 

[macromedia]

name=Macromedia for i386 Linux

baseurl=http://macromedia.mplug.org/rpm/

enabled=1

gpgcheck=1

gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY

 

Followed by > ESC + :wq

 

Then I paste...

 

yum -y install flash-plugin

 

....and I get this error message.....

 

[root@localhost ~]# yum -y install flash-plugin
Traceback (most recent call last):
 File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
 File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
 File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
 File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in doConfigSetup
self.getReposFromConfig()
 File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in getReposFromConfig
parser.read(files)
 File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
IncludingConfigParser.read(self,filename)
 File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
ConfigParser.read(self,filename)
 File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
self._read(fp, filename)
 File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: ///etc/yum.repos.d/flash.repo, line: 1
'cromedia]\n'
[root@localhost ~]#

 

Help :(

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...