How to use rpm packages?

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
gerry
Posts: 986
Joined: Thu 26 Jul 2007, 21:49
Location: England

How to use rpm packages?

#1 Post by gerry »

I've searched the forum for rpm and .rpm, and found no matches, so I assume this question has never come up before: is there any way that we can utilise rpm packages?

Gerry

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

unrpm in the search turned up this:
http://www.murga-linux.com/puppy/viewto ... 18&t=20639
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

nicatron
Posts: 9
Joined: Mon 08 Oct 2007, 02:02

RPM

#3 Post by nicatron »

rpm stands for Red Hat Package Manager. I think that puppy hasn't added support for this yet. It may never but, you can in almost all cases download the self-extracting archive or .gzip or source. I recommend using the DotPup system or better, the PUPget system.
OFF topic: Where did you get the puppy sig???
[color=blue]
RuneOS Devolepment has started!!!!!!!!!!!
[/color]
[color=cyan]||||||||||||||||||||||||||||||||||||[/color][color=red]||||||||||||||||||||||||||||||||[/color] Until RuneOS Alpha 1!

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#4 Post by amigo »

Since puppy now supports the Slackware package format, you can use my src2pkg program to convert the rpm into an installable package.
The main purpose of my program is to unpack, configure and compile source code and create installable slack packages from that. But, as a side benfit, it will also convert rpm *binary* packages (or .deb deian archives) into such packages. It will also install the package for you when done if you choose that option.

Other niceties for puppy-ers is that it will compress all docs if you want, and compress all binaries using upx if you have it installed.

If you just want to unpack an rpm and create a puppy package manually, it also includes the disrpm program. disrpm is actually a shell script which uses 'od' or 'hexdump' to decompress the rpm (or debian archives. which are 'ar' archives with the .deb suffix).
The disrpm prog was written by someone else and is available elsewhere. I recommend it beacuse you don't need to have rpm2cpio installed in order to use it -which is usually needed by the various 'unrpm' programs out there. Also, it will succesfully unpack rpm's which unrpm will not -especially older rpm's which used a different format.

You can get srcpkg here:
http://distro.ibiblio.org/pub/linux/dis ... i486-1.tgz

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#5 Post by greengeek »

amigo wrote:You can get srcpkg here:
http://distro.ibiblio.org/pub/linux/dis ... i486-1.tgz
This link appears dead for me. Any other links still active please? cheers

EDIT : This link may be helpful:
http://murga-linux.com/puppy/viewtopic. ... 135#672135

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#6 Post by don570 »

It will use 'exploderpm' rather than rpm2cpio to do the extraction.
I found that some rpm packages wouldn't extract with rpm2cpio
so I researched on the internet and found that people were using exploderpm instead.

Check out my right click utility package

http://murga-linux.com/puppy/viewtopic. ... 002#761002

_________________________________________________

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#7 Post by amigo »

You can always browse to the src2pkg sources for the current version by going to: http://distro.ibiblio.org/amigolinux/download/src2pkg/
and then go into the opened sources for the version, at this time that is 'src2pkg-3.0' and browse to the 'Resources/bin' dir where exploderpm is found.
It has recently been updated to be compatible with recent rpm archives which are compressed using 7z instead of xz. The original reason that rpm2cpio was failing was because of rpms being compressed with xz instead of gzip/bzip2.

Post Reply