Is it possible to extract recent Fedora rpms?

Using applications, configuring, problems
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Is it possible to extract recent Fedora rpms?

#1 Post by disciple »

Does anyone know how to extract a recent Fedora rpm? The one in particular I want to open is for Hugin 0.8.0... but I don't think I ever figured out how to open all the ones I mentioned ages ago at http://www.murga-linux.com/puppy/viewtopic.php?p=246826
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#2 Post by jrb »

Downloaded ftp://ftp.pbone.net/mirror/bugbear.blac ... 4.i386.rpm and ftp://ftp.pbone.net/mirror/bugbear.blac ... 1.i586.rpm dated 2009-07-18.

Extracted them both with ttuuxxx's xarchiver-0.5.2-i386-v4.pet.

Hope that helps, J

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Can't open recent Fedora rpms

#3 Post by disciple »

No, doesn't work on this package. http://rpmfind.net//linux/RPM/fedora/de ... .i686.html

Code: Select all

bzip2: /tmp/xa-iNSZYe/file.gz_bz is not a bzip2 file.
I wonder if the problem is with fc12 packages. Or maybe with the Koji packages, which I think are more official...

I'll try that one anyway, since you found it. Thanks.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

The other thing I notice is that the koji packages are considerably smaller, so I think they might be using a different sort of compression.
I'll try that one anyway, since you found it. Thanks.
Too many new dependencies... 0.7.0 is pretty good, so I think I'll wait till either we have a proper package repository or there is a significant improvement in hugin before upgrading the package. Unless I get locked in a room with a computer and nothing else to do...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#5 Post by BarryK »

I just downloaded a fedora 12 rpm, a grub package, and busybox 'rpm2cpio' was unable to open it.

In the past I have done something like this successfully:

rpm2cpio packagename.rpm | cpio -i -d
[url]https://bkhome.org/news/[/url]

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#6 Post by Aitch »

disciple

hugin 0.8.0.tar.gz

http://sourceforge.net/projects/hugin/files/hugin/

think you should be able to get that to go?

http://hugin.sourceforge.net/
googlesearch wrote:Note that hugin-0.8.0 will require this version of libpano13. Note also that the soname has changed, so both hugin and autopano-sift-C will need to be ...
can't see the rest of it....

HTH

looks nice btw

Aitch :)

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#7 Post by jrb »


disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#8 Post by disciple »

think you should be able to get that to go?
No, I decided it isn't worth the effort to build hugin working from source. And due to all the new dependencies I don't think I'll update at all at the moment, although that is quite doable. You can of course try 0.7.0 which I packaged up with all the dependencies too...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#9 Post by mikeb »

ah good....there is a native linux version too :)

mike

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#10 Post by mikeb »

This problem would not by any chance be a unicode issue.....just that sometimes content is shown without names then give an extracting error.

mike

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#11 Post by jrb »

I have uploaded p7zip_9.04_full.pet

This is the latest version of p7zip command line file archiver and extractor.
Supported formats:
Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
Unpacking only: ARJ, CAB, CHM, CPIO, DEB, DMG, HFS, ISO, LZH, LZMA, MSI, NSIS, RAR, RPM, UDF, WIM, XAR and Z.
I have included a Utility menu entry to access the manual in your htmlviewer.

Also I have placed p7zip_extract on the right click OpenWith menu. This will extract the contents of sample_archive.xxx to the folder /sample_archive.xxx_extracted in the same folder as the archive file.

I used it to extract a fedora fc12 rpm. First it extracted a .cpio file and then I extracted that to get the program files.

Enjoy, J

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#12 Post by mikeb »

I used it to extract a fedora fc12 rpm. First it extracted a .cpio file and then I extracted that to get the program files.
I just got an error though it showed content...can you give the syntax/proceduce used?

regards

mike

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#13 Post by jrb »

mikeb wrote:can you give the syntax/proceduce used?

Code: Select all

# 7z x hugin-0.8.0-2.fc12.i686.rpm

7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30
p7zip Version 9.04 (locale=en_US,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: hugin-0.8.0-2.fc12.i686.rpm

Extracting  hugin-0.8.0-2.fc12.i686.cpio

Everything is Ok

Size:       18528132
Compressed: 7468328
# 7z x hugin-0.8.0-2.fc12.i686.cpio

7-Zip 9.04 beta  Copyright (c) 1999-2009 Igor Pavlov  2009-05-30
p7zip Version 9.04 (locale=en_US,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: hugin-0.8.0-2.fc12.i686.cpio
I didn't copy the files extracted to save space but all files were extracted successfully.

Right clicking and using OpenWith-p7zip_extract is easier.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#14 Post by mikeb »

Thanks for the info jrb.....
From that I realised I was using 7za and not 7z
I had been using 7za for 7z archives so perhaps 7za is only for 7z and the 7z binary (and lib?) covers other formats...slightly confusing but clear now.
So an xarchive script for newer rpms would use 7z in 2 stages...or alter disrpm to use 7z..

Regards

mike

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#15 Post by Aitch »

perhaps this will help - ttuuxxx's xarchiver.pet

http://www.murga-linux.com/puppy/viewtopic.php?t=37276
ttuuxxx wrote:There are tons of new file formats that now can be opened and extracted
rpm bzip tar jar xpi and many more
Aitch :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

perhaps this will help - ttuuxxx's xarchiver.pet
the same applies...the use of 7z would still be required...using xarchiver to unpack packages is pretty manual.

mike

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

How to extract a recent Fedora rpm

#17 Post by Sit Heel Speak »

Probably a year too late to do any good, but, to extract

ftp://fr2.rpmfind.net/linux/fedora/deve ... 5.i686.rpm

I found that

Code: Select all

rpm2cpio 'hugin-2010.2.0-1.fc15.i686.rpm' | cpio -idmv
works.

Post Reply