Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-25-2004, 01:37 PM   #1
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30

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?
Old 06-25-2004, 04:11 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78!INDEX.html
Old 06-25-2004, 09:25 PM   #3
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
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:

Old 06-26-2004, 11:40 AM   #4
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
got it working - thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fortune cookie :) Tinkster General 16 05-24-2005 09:26 AM
Where can I download Fortune? kg4ysy Linux - Software 1 05-12-2005 08:51 PM
Soldier of fortune 2 Grisnak Linux - Games 12 06-10-2004 01:58 PM
Download Fortune althepcman Linux - Software 1 08-18-2003 04:20 AM
Fortune r00tshell Slackware 6 07-15-2003 10:06 PM

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration