How do I install an RPM package in 4.1.2?

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
ssme
Posts: 81
Joined: Thu 15 Jan 2009, 14:40

How do I install an RPM package in 4.1.2?

#1 Post by ssme »

i'm currently using puppy 4.1.2 on an old laptop and one of the objectives of installing it was to use it for coding in Prolog for my uni course.

there is a free Prolog interpreter here http://gollem.science.uva.nl/cgi-bin/np ... 9.i586.rpm, and I would love to install it under puppy, but it is an RPM. i have tried various flavours of unrpm .pups/.pets i have found on the forum, and they all fail to do anything. i have also tried Peazip to unpack it, with no joy.

all those statements should, of course, come with the rider that i am pretty incompetent when it comes to linux.

can anyone give me a step-by-step guide to how to get this program installed? or is it likely simply to be impossible? would it be possible to make a .pet out of it, or is that incredibly difficult too?

thanks!
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

although there are various methods to install an rpm in puppy I would recommend an install from source if possible

here are the instructions from them
http://www.swi-prolog.org/installunix.html

and the source
http://gollem.science.uva.nl/cgi-bin/np ... .64.tar.gz

These instructions should work fine (assuming you have dowloaded and loade the devx_412.sfs)

My signature contains info on pet packaging in case you would like to share your pet with any of your class mates.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#3 Post by Dingo »

rpm package may be malformed or damaged:

Code: Select all

# unrpm pl-5.6.64-339.i586.rpm
rpm2cpio: invalid gzip magic
cpio: premature end of archive
tried to open with PeaZip, but it , at 2nd attempt ask me for a password
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
ssme
Posts: 81
Joined: Thu 15 Jan 2009, 14:40

#4 Post by ssme »

technosaurus wrote:although there are various methods to install an rpm in puppy I would recommend an install from source if possible

here are the instructions from them
http://www.swi-prolog.org/installunix.html

and the source
http://gollem.science.uva.nl/cgi-bin/np ... .64.tar.gz

These instructions should work fine (assuming you have dowloaded and loade the devx_412.sfs).

thanks for the reply.

i had looked at building from source, but it seemed a little daunting.

what is devx_412.sfs? i am using the barebones retro puplet of 4.1.2, does that make a difference?

and would the build.templ script mentioned in the instructions work on puppy?
Last edited by ssme on Mon 26 Jan 2009, 17:59, edited 1 time in total.
ssme
Posts: 81
Joined: Thu 15 Jan 2009, 14:40

#5 Post by ssme »

Dingo wrote:rpm package may be malformed or damaged:

Code: Select all

# unrpm pl-5.6.64-339.i586.rpm
rpm2cpio: invalid gzip magic
cpio: premature end of archive
tried to open with PeaZip, but it , at 2nd attempt ask me for a password
that's exactly what i got. i'm glad i wasn't just doing something wrong!
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#6 Post by technosaurus »

Barrys compile tutorial
http://www.puppylinux.com/development/compileapps.htm

the devx file
http://distro.ibiblio.org/pub/linux/dis ... vx_412.sfs

to install it just put it in the same directory as your pup_412.sfs and go to Menu --> system --> Boot Manager and ensure that the devx is selected then reboot
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

Hi I compiled it, here's a link
http://www.puppylinux.asia/tpp/ttuuxxx/ ... 4-i386.pet
looks like its ran via command line,
pl
plld
plrc
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
User avatar
pa_mcclamrock
Posts: 695
Joined: Fri 03 Jun 2005, 23:13
Location: Fort Wayne, Indiana, USA

#8 Post by pa_mcclamrock »

In case you want to install any more programs that you can only find in RPMs, here's a handly little program called "rpm2tgz" that I've turned into a .PET from a Slackware package. It extracts the contents of an RPM and turns them into a Slackware-style binary tarball, which you can then easily turn into a .PET with the "dir2pet" and/or "tgz2pet" commands.
Attachments
rpm2tgz-1.0.pet
(4.66 KiB) Downloaded 927 times
It's stupid to use inferior software for ideological reasons.
--Linus Torvalds
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#9 Post by ttuuxxx »

pa_mcclamrock
you might find this package handy also
it has 4 things
dir2sfs
undeb
unrpm
rpm2targz

to use them like this
undeb packagename.deb
unrpm packagename.rpm
dir2sfs directoryName
and you know the rpm2targz

also xarchiver can extract rpm packages also.
Attachments
xarchiver-0.5.2-i386-v3.pet
(111.11 KiB) Downloaded 643 times
unrpm-undeb-rpm2targz-dir2sfs.pet
(59.7 KiB) Downloaded 767 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
User avatar
pa_mcclamrock
Posts: 695
Joined: Fri 03 Jun 2005, 23:13
Location: Fort Wayne, Indiana, USA

#10 Post by pa_mcclamrock »

ttuuxxx wrote:pa_mcclamrock
you might find this package handy also
it has 4 things
dir2sfs
undeb
unrpm
rpm2targz
Hey, thanks! Just a couple of questions: how does dir2sfs compare to makesquashfs, and how does unrpm compare to rpm2targz?
It's stupid to use inferior software for ideological reasons.
--Linus Torvalds
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#11 Post by ttuuxxx »

pa_mcclamrock wrote:
ttuuxxx wrote:pa_mcclamrock
you might find this package handy also
it has 4 things
dir2sfs
undeb
unrpm
rpm2targz
Hey, thanks! Just a couple of questions: how does dir2sfs compare to makesquashfs, and how does unrpm compare to rpm2targz?
dir2sfs has always worked nicely, it just turns a directory into a sfs in just a click
unrpm & Undeb just extract whats inside the rpm or deb. I've had a couple of errors in the past but could of been the package because it usually works.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
ssme
Posts: 81
Joined: Thu 15 Jan 2009, 14:40

#12 Post by ssme »

ttuuxxx wrote:Hi I compiled it, here's a link
http://www.puppylinux.asia/tpp/ttuuxxx/ ... 4-i386.pet
looks like its ran via command line,
pl
plld
plrc
ttuuxxx
i just want to say thanks for this! it seems to be working fine...
thebeaky
Posts: 49
Joined: Sat 09 May 2009, 09:29

getting the pup

#13 Post by thebeaky »

Hey, so I followed the link http://www.puppylinux.asia/tpp/ttuuxxx/ ... 4-i386.pet

and it is asking for username and password to enter.

how do I get hold of these?
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#14 Post by ttuuxxx »

hi

username:puppy
password:linux
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#15 Post by dejan555 »

Take a look here too ;)
deb2pet & rpm2pet
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
thebeaky
Posts: 49
Joined: Sat 09 May 2009, 09:29

passwords

#16 Post by thebeaky »

thanks ttuuxxx.
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#17 Post by MU »

In 2007 I added a dotpup that allows to extract rpms from Suse 10.2.


Then use
unrpm44 filename.rpm

download (1.4 MB):
http://dotpups.de/puppy3/dotpups/System ... nrpm44.pup

It includes Debian libraries from around 10 debs, they go to an own folder to avoid conflicts.

I have not tried, if it works in Puppy 4.
Mark
thebeaky
Posts: 49
Joined: Sat 09 May 2009, 09:29

by the by

#18 Post by thebeaky »

This prolog application is awesome.

so mu?

does this mean, using this makes using rpms as simple as using the .pup files?

once you have done that, it is installed?

if so, that's awesome.
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

it is intended only to extract RPMs.
But then you could build a pet.
Save a rpm in a folder /mystuff/.
Extract it:
cd /mystuff
unrpm44 mystuff.rpm


Then delete mystuff.rpm again, and type:
cd ..
dir2pet mystuff


Then you have a pet.
Another question is, if it works.
I often found, that Suse packages have a lot of dependencies.
If I don't compile programs on my own, I prefer to extract debs or tgz from
http://packages.debian.org
or
http://packages.slackware.it/

They often have less dependencies.

They can be extracted with "undeb" or xarchive, or you create a pet for example like this from slackware packs:

cd the_folder_name
tar -xzvf slackware-package.tgz
cp install/doinst.sh ./
bash doinst.sh
rm -f doinst.sh
rm -rf install
rm -f slackware-package.tgz
cd ..
dir2pet the_folder_name


This is the "long" way I prefer, as it allows me to add or remove files.
The short way is called:
tgz2pet slackware-package.tgz

Mak
Post Reply