MIME type for rpm?

Status
Not open for further replies.

nileshgr

Wise Old Owl
I am using opera in Fedora Core 6. I am unable to download rpm files. Can you tell me the MIME type for rpm files?
 

eddie

El mooooo
Mime types for rpm are
Code:
application/x-redhat-package-manager
application/x-rpm
application/binary
application/octet-stream
But the problem you are facing is not at your end or in Opera browser. It is a problem with the server serving the RPMs. The server is sending the RPM stream with wrong HTTP headers because of which you are not able to download them.

@Mehul: Some servers with improper configuration send RPM with a realplayer stream like headers. This makes the browser to try and open the stream in embedded realplayer rather than giving an option to save the package. Here is an example
*macromedia.rediris.es/site_ri.html
 

mehulved

18 Till I Die............
But, the question should have been, in the first place, why is he downloading rpm's from a site? And what rpm's are those and which site?
 
OP
nileshgr

nileshgr

Wise Old Owl
Actually, i need to install flashplayer in Opera. So when opera goes to adobe.com, the site offers two packs-- .tar.gz and .rpm The installation of .tar.gz is complicated. rpm is the easiest way to install the flashplayer. But opera does not download the rpm file.
 

mediator

Technomancer
U can always use "prozilla" to download the stuff!
1. Install prozilla, "yum -y install prozilla proz" (coz I dont know what exactly was the package name, but its either prozilla or proz) or u can download and install from the site!
2. After installing u can download all the stuff to a default directory say "/home/mediator/downloads". For this u can use my shell script!
if [ -z $1 ]
then
echo "Enter Url !!"
else
cd /home/mediator/downloads
proz $1
fi
Save this script as "resume" or wateva u like.
3. MOve the script file to "bin" folder in ur home directory or some other path!
4. Open terminal in bin (/home/mediator/bin) directory and do "chmod +x resume"
5. Ur done!

Now type "resume *link/file.rpm" in ur terminal and ur file will download in the default "downloads" folder through that shell script! Do necessary changes to shell script in the bolded part!

So its easy, its cool, its fast and less resource consuming!
 

The Outsider

Beneath The Eyelids
download and copy the repo file to your repositories folder
Code:
wget *macromedia.mplug.org/macromedia-i386.repo
cp macromedia-i386.repo /etc/yum.repos.d/

import the key
Code:
rpm --import *macromedia.mplug.org/FEDORA-GPG-KEY

install through yum
Code:
yum install flash-plugin

restart opera ;)
 
Status
Not open for further replies.
Top Bottom