-   Linux - Software (
-   -   fortune (

drigz 06-25-2004 01:37 PM

I have looked on google but can't find where to download source for the fortune program - I am using LFS and am sick of that screensaver coming up and showing:
/bin/sh: line 1: /usr/games/fortune: No such file or directory

Where can I get it? I have found somewhere to download the source RPM - is there any way to extract this?

bulliver 06-25-2004 04:11 PM!INDEX.html

wipe 06-25-2004 09:25 PM

Without the actual RPM package manager, source RPM packages can be extracted this way:

rpm2cpio foo-1.0-1.src.rpm | cpio -dimv

Then again, you'd have to have both rpm2cpio and cpio. There's probably an rpm2cpio included in the full rpm utility, but these scripts should work as well:


drigz 06-26-2004 11:40 AM

got it working - thanks.

All times are GMT -5. The time now is 12:23 AM.