You are not logged in.

#1 2005-02-24 04:43:44

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

RPM files: can Arch handle them?

I have an application that is only offered in RPM format. No source code. Is there a way for me to get Arch to install and use it?

Offline

#2 2005-02-24 04:49:43

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: RPM files: can Arch handle them?


The impossible missions are the only ones which succeed.

Offline

#3 2005-02-24 04:58:34

ralvy
Member
From: Santa Monica, California
Registered: 2004-12-06
Posts: 275

Re: RPM files: can Arch handle them?

Thanks for the typically quick reply on this forum. I'll take a look at that.

Offline

#4 2005-02-24 06:23:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: RPM files: can Arch handle them?

rpmunpack makes the archive a cpio file, not an arch package tgz.


try rpm2targz, its what i use, while it doesnt make an arch tgz installable through pacman, all you need to do is cd to / and extract it there.

Its on staging TUR:

staging/rpm2targz 9.0-s1
    Convert a .rpm to a .tar.gz archive

or for ya pacman.conf

[staging]
Server = ftp://ftp.archlinux.org/tur/staging

Offline

#5 2005-02-24 06:24:47

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: RPM files: can Arch handle them?

Once you get used to rpmunpack you could make an Arch package for your program using ABS. Then you would have a nice neatly managed program.

Offline

#6 2005-02-24 06:47:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: RPM files: can Arch handle them?

iphitus wrote:

rpmunpack makes the archive a cpio file, not an arch package tgz.

of course not - yes - if you look at the examples it is like this:

  rpmunpack jdk-1_5_0_01-linux-i586.rpm
  gunzip < jdk-1.5.0_01-fcs.cpio.gz | cpio -ivd

and then you have everything extracted and ready to be packed


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB