mail-lists at karan.org
Mon Jan 4 16:59:47 IST 2010
On 01/03/2010 02:24 PM, murugan m wrote:
> Why I could not install rpm package in ubuntu 9.10?
When you ask a question of this nature, its always a good idea to
express the issue ( which you did : not being able to install an rpm
package on ubuntu ). And then also mention that it is that you tried and
how did you fail. This is not something you did, and pretty much
anything that anyone comes up with - will either be unhelpful or just
patronising. I'll assume the second and consider you as not knowing what
you are doing. So here goes:
You should be able to 'apt-get install rpm' and then just use the rpm
command to do the install etc ( get creatively interesting with deps ).
An rpm file is just a cpio archieve so another option is to install
rpm2cpio, extract the payload, and handle that whatever way you like. eg:
mkdir -p ~/tmp/myrpm; cd ~/tmp/myrpm/; rpm2cpio >pathto.rpm< | cpio -idv
And finally, there is an app called 'alien', which will conver your rpm
into a deb file ( works fine for the very simple rpm's - if there is any
level of inherited complexity, you need to handle that on your own ).
London, UK | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc
More information about the ilugc