PDA

View Full Version : [ubuntu] installing .rpm file...



CD4+
July 20th, 2009, 11:16 AM
is there way to install .rpm file on ubuntu.. please help...

regards
cd-4+

yeats
July 20th, 2009, 11:25 AM
You could try a program called alien (in the repos)... What is it you're trying to install?

TuckLive
July 20th, 2009, 11:30 AM
Not without converting it to .deb. If the program you want has a .deb package use that. If not this will show you how to convert http://http://www.debianadmin.com/install-rpm-files-in-debian-and-ubuntu.html. It has step-by-step instructions.

ahmatti
July 20th, 2009, 11:35 AM
You can do this easily with alien and a lot of times it also works nicely. First install alien:


sudo apt-get install alien

then install the rpm:


sudo alien -i -c someprogram.rpm

Rodemire
July 24th, 2009, 10:41 AM
Hallo,

I have a similar problem. I downloaded an rpm package instead of the deb package for Adobe Reader. The problem i have now is at my wotkplace they have put restrictions on download sizes and they are on to me. I installed alien so i could convert to a .deb package but when i installed and evrything I got the following error:

"Failed to execute child process "acroread" (Permission denied)"

What have I done wrong?

Rodemire
July 24th, 2009, 10:49 AM
I apologise for the above message, I realised when I was converting to deb packages that i was using the following command:

sudo alien -i AdobeReader.rpm

and I was not including the scripts, that is, with the argument -c. So i used the command below and it worked:

sudo alien -ic AdobeReader.rpm

Sorry again.

oldos2er
July 24th, 2009, 05:21 PM
Adobe Reader is in the repositories.

philcamlin
July 24th, 2009, 05:24 PM
Adobe Reader is in the repositories.

yes there is no need to install an rpm when its in synaptic :popcorn:

Rodemire
July 24th, 2009, 11:37 PM
Yes, Adobe is in the repos. I am schooling myself on using Linux so i was trying my hand at installing manually downloaded packages. It worked out for the better as i now know about alien, rpms and manual installation.
Thanks guys.

markharding557
July 24th, 2009, 11:49 PM
you can find the vast majority of things in .deb format

Mark Phelps
July 25th, 2009, 04:33 PM
I know from experience that while converting an .rpm to a .deb DOES work using Alien, the result does not always work. I've run into situations where, especially with libraries, the component names are different in the .deb packages than in the .rpm packages.

As others have said, it's best to check Synaptic first, and if there's nothing there, you can always do a search of the Debian libraries to see if such a package DOES exist.

aysiu
July 25th, 2009, 06:01 PM
If you don't see Adobe Reader in the repositories, you may have to add some:
http://psychocats.net/ubuntu/sources

CD4+
August 2nd, 2009, 09:12 AM
soory for replyn late as i was out of station... I tried to install via the way mentioned here: http://www.debianadmin.com/install-rpm-files-in-debian-and-ubuntu.html.

but to my surprise when i try
# alien -k VMware-Workstation-6.5.2-156735.i386.rpm
i get the following:

Warning: Skipping conversion of scripts in package VMware-Workstation: postinst prerm
Warning: Use the --scripts parameter to include the scripts.
chown: changing ownership of `VMware-Workstation-6.5.2//var/cache/vmware/VMware-Workstation-6.5.2-156735.i386.bundle': Operation not permitted
failed chowning /var/cache/vmware/VMware-Workstation-6.5.2-156735.i386.bundle to 0:0: at /usr/share/perl5/Alien/Package/Rpm.pm line 263, <GETPERMS> line 1.

please help ...


regards
CD4+

Riaku
August 2nd, 2009, 09:36 AM
normally you'd install the .deb file and not the the .rpm. check to see if there's one before doing this but :
http://www.ubuntugeek.com/install-rpm-files-in-ubuntu.html

CD4+
August 4th, 2009, 02:52 AM
well riaku thats the same method i did and the following result i got in the last post...

regards
CD4+

CD4+
August 5th, 2009, 05:34 PM
please reply someone to my problem please..

regards
cd4+