LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2013, 04:07 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,066

Rep: Reputation: 45
Looking for a file within a given slackware distribution.


Hi: suppose you want to look for file foo belonging to the Slackware N.N distribution. Then either you make a full installation or N.N and look into /var/log/packages (grep) or you go to some Slackware index tree in the web and you traverse the tree node by node, which would be a great deal of work to do and therefor impracticable.

Now suppose further that you are not able, momentarily, to install N.N to your disk. Perhaps you have it now occupied by another O.S. or for whatever reason. So your only place where to look at is the N.N disk itself. In this disk your have PACKAGES.TXT and FILELIST.TXT. But neither of these will do. They list packages but not their contents (I know such a list would include over one million file names).

So, in spite of having the disk, you arent able to know if foo is there or not or, in case you know it is, in which package. Is this really true?
 
Old 01-18-2013, 04:17 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,324

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
slackware/MANIFEST.bz2
 
1 members found this post helpful.
Old 01-18-2013, 04:25 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
If you don't want to depend on having the disk, you can search online for any file in any package of any Slackware release: http://packages.slackware.com/

Eric
 
1 members found this post helpful.
Old 01-18-2013, 04:28 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,066

Original Poster
Rep: Reputation: 45
I never saw a shorter and more helpful reply than that! But I'm afraid this is a new feature in Slackware (the listing of the files). Oh, indeed, thank you very much.
 
Old 01-18-2013, 04:39 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,066

Original Poster
Rep: Reputation: 45
There is one in Slackware 9.1 too. Perhaps there always has been a list of files (not packages) in the distribuition disks.
 
Old 01-18-2013, 04:44 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,066

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Alien Bob View Post
If you don't want to depend on having the disk, you can search online for any file in any package of any Slackware release: http://packages.slackware.com/

Eric
Thank you very much, Eric.

To whoever matters: this facility had already been implemented many years ago. I could never know why it vanished after some time.

Last edited by stf92; 01-18-2013 at 04:52 AM.
 
Old 01-18-2013, 04:53 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,806

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
You can also use "slackpkg file-search". I'm sure this uses MANIFEST.bz2 underneath but it provides another interface to the same information.
 
Old 01-18-2013, 04:58 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,806

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
Quote:
Originally Posted by stf92 View Post
But I'm afraid this is a new feature in Slackware (the listing of the files)
Nope

Quote:
Originally Posted by stf92 View Post
There is one in Slackware 9.1 too. Perhaps there always has been a list of files (not packages) in the distribuition disks.
looks to me like it has always been there (or at least for a very long time), e.g. slackware-3.3/slakware/MANIFEST (from 1997)

Last edited by ruario; 01-18-2013 at 05:05 AM. Reason: Added a quote, added Slackware 3.3 date
 
Old 01-18-2013, 06:03 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,066

Original Poster
Rep: Reputation: 45
Thanks, thanks.
 
Old 01-18-2013, 04:56 PM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,025

Rep: Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966
Now, to check that tetris be shipped in Slackware-1.1.2, then list all packages in that release, do this:
Code:
wget http://ftp.slackware.no/slackware/slackware-1.1.2/FILE_LIST
grep tetris FILE_LIST
grep tgz$ FILE_LIST
Just wondering: why don't we have tetris in Slackware-14.0 as well?

Last edited by Didier Spaier; 01-19-2013 at 05:38 PM.
 
1 members found this post helpful.
Old 01-18-2013, 05:42 PM   #11
GazL
Senior Member
 
Registered: May 2008
Posts: 3,324

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by Didier Spaier View Post
Just wondering : why don't we have tetris in Slackware-14.0 as well?
m-x tetris in emacs?

 
Old 01-18-2013, 05:58 PM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Just wondering : why don't we have tetris in Slackware-14.0 as well?
License issue. I wanted tt (tetris for terminals, http://www.miketaylor.org.uk/tech/tt/) in Slackware's installer, but the license holders are very strict apparently.

Eric
 
Old 01-18-2013, 06:36 PM   #13
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,025

Rep: Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966
Quote:
Originally Posted by Alien Bob View Post
License issue. I wanted tt (tetris for terminals, http://www.miketaylor.org.uk/tech/tt/) in Slackware's installer, but the license holders are very strict apparently.
I tried to launch the 'tt' included in Slackware-1.1.2, no way of course. file report :
Code:
tt: Linux/i386 impure executable (OMAGIC), stripped
After
Code:
modprobe  binfmt_aout
I only get this
Code:
bash-4.2$ ./tt
Killed
Any clue?

Last edited by Didier Spaier; 01-18-2013 at 06:40 PM.
 
Old 01-19-2013, 05:58 AM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
Just recompile it for a newer Slackware... this is on 64-bit Slackware 13.37:
Code:
||          %%        ||  ^[[7mTETRIS FOR TERMINALS^[[27m
||                    ||
||                    ||  Written by Mike Taylor
||                    ||  Email: mirk@uk.co.ssl
||                    ||  Started: Fri May 26 12:26:05 BST 1989
||                    ||
||                    ||  Game level: 0  Game mode: 0
||                    ||
||                    ||  Score:         6
||                    ||  Pieces:        2
||                    ||  Levels:        0
||                    ||
||                    ||    Use keys:
||                    ||    =========
||                    ||    Move left:  ','
||                    ||    Move right: '/'
||          %%%%      ||    Rotate:     '.'
||        %%%%        ||    Drop:       ' '
||          ##        ||    Pause:      's'
||        ######      ||    Quit:       'q'
++====================++    Refresh:    '^L'
I will upload a set of packages later.

Eric
 
1 members found this post helpful.
Old 01-19-2013, 05:01 PM   #15
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,025

Rep: Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966
Quote:
Originally Posted by Alien Bob View Post
I will upload a set of packages later.
I just installed it, thanks Eric
 
  


Reply


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
Converting another distribution to Slackware jeroensnake Slackware - Installation 6 01-02-2006 10:40 AM
Distribution choice: Slackware first or last? marsm Linux - Newbie 17 08-19-2005 06:18 PM
Why is this distribution (Slackware) so popular? SAFX Slackware 25 10-11-2004 11:03 PM
Slackware Distribution Cubiq Linux - General 10 01-23-2002 08:11 AM


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

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