LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-23-2006, 11:19 AM   #1
Innovafan
LQ Newbie
 
Registered: Aug 2006
Location: santa cruz, california
Distribution: ubuntu
Posts: 8

Rep: Reputation: 0
.rpm files


Ok sometimes I have downloaded a file with the .rpm extension and have tried to open it, but get a error message that it can not
be opened ?
Any work around to open the file ?

dolan
 
Old 08-23-2006, 11:26 AM   #2
Optiker
Member
 
Registered: Nov 2005
Distribution: Mint 14 Nadia
Posts: 189

Rep: Reputation: 21
Quote:
Originally Posted by Innovafan
Ok sometimes I have downloaded a file with the .rpm extension and have tried to open it, but get a error message that it can not
be opened ?
Any work around to open the file ?

dolan
If you're using (K)Ubuntu...RPMs are packages for Redhat, and (K)Ubuntu is Debian based, so use a different package format. I'm not real experienced myself, so somebody else can elaborate, but if I recall, you use an app called alien to translate from RPM to DEB.

Optiker
 
Old 08-23-2006, 12:52 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Innovafan
Ok sometimes I have downloaded a file with the .rpm extension and have tried to open it, but get a error message that it can not
be opened ?
Any work around to open the file ?

dolan
You CAN use .rpm's, you just need to convert them to .deb. You will need to install 'alien' for this.

sudo apt-get install alien

After alien is installed, you would do a

sudo alien <name of your .rpm>

That will covert your .rpm to a .deb and then ubuntu can install it!

Cheers!
 
Old 08-23-2006, 01:10 PM   #4
pinguim66
LQ Newbie
 
Registered: Aug 2006
Posts: 16

Rep: Reputation: 0
alien --to-deb <name-of-rpm-package>
 
Old 08-23-2006, 02:37 PM   #5
Innovafan
LQ Newbie
 
Registered: Aug 2006
Location: santa cruz, california
Distribution: ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
.rpm files

Quote:
Originally Posted by randell6564
You CAN use .rpm's, you just need to convert them to .deb. You will need to install 'alien' for this.

sudo apt-get install alien

After alien is installed, you would do a

sudo alien <name of your .rpm>

That will covert your .rpm to a .deb and then ubuntu can install it!

Cheers!
Okay Will try that, thanks much for the information.
I figured maybe there might be a conversion tool, but couldnt get any straight answers out of my friends who use linux more than
I do.

You Know Sometimes you get what you want,
then you loose what you got. Rolling Stones.


Dolan
 
Old 08-23-2006, 02:38 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by pinguim66
alien --to-deb <name-of-rpm-package>
NO! That is not the correct syntax.

It is simply 'sudo alien <name of .rpm>'
 
Old 08-23-2006, 02:39 PM   #7
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Innovafan
Okay Will try that, thanks much for the information.
I figured maybe there might be a conversion tool, but couldnt get any straight answers out of my friends who use linux more than
I do.

You Know Sometimes you get what you want,
then you loose what you got. Rolling Stones.


Dolan
Alien IS the coversion tool. It's not a nice gui, if that is what you mean.
 
Old 08-24-2006, 11:42 AM   #8
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Alien should be a last resort! Don't use it if you don't absolutely need to! It's much better to get packages from the Ubuntu repositories!
 
Old 08-24-2006, 11:45 AM   #9
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally Posted by ErrorBound
Alien should be a last resort! Don't use it if you don't absolutely need to! It's much better to get packages from the Ubuntu repositories!
I agree, but if you are going to use alien, this is how you do it:
Code:
sudo aptitude update
sudo aptitude install alien
sudo alien -i packagename.rpm
For more details:
http://www.psychocats.net/ubuntu/installingsoftware
 
Old 08-24-2006, 11:45 AM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by ErrorBound
Alien should be a last resort! Don't use it if you don't absolutely need to! It's much better to get packages from the Ubuntu repositories!
Of course!
 
Old 08-24-2006, 11:48 AM   #11
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by aysiu
I agree, but if you are going to use alien, this is how you do it:
Code:
sudo aptitude update
sudo aptitude install alien
sudo alien -i packagename.rpm
For more details:
http://www.psychocats.net/ubuntu/installingsoftware
I guess there is more than one way of doing it. Good for me!
 
Old 08-26-2006, 12:19 PM   #12
Innovafan
LQ Newbie
 
Registered: Aug 2006
Location: santa cruz, california
Distribution: ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
.rpm files

Quote:
Originally Posted by randell6564
I guess there is more than one way of doing it. Good for me!
Okay Yes I understand now that 'alien' should be the last resort.
Though I guess it must be the last resort if say the .rpm program you want does not come in a .deb file.

dolan
 
Old 08-26-2006, 03:19 PM   #13
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Innovafan
Okay Yes I understand now that 'alien' should be the last resort.
Though I guess it must be the last resort if say the .rpm program you want does not come in a .deb file.

dolan
Exactly! Though Frostwire installs through synaptic, Limewire does not, and does not offer anything but an .Rpm, so I used alien to install it.
 
  


Reply

Tags
rpm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 01:18 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 04:35 PM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
Building RPM files from TAR files parle Linux - Software 3 05-05-2002 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration