Subject: Re: apt-get problem & where is program x? Date: Tue, May 25, 1999 at 07:00:56PM +0800
In reply to:Paul Harris Quoting Paul Harris([EMAIL PROTECTED]): > hi, > > it seems obvious to me, but whenever i am missing a program like startx, > xterm, rgrep, libXpm, etc i just grep the Contents file: > > <download Contents-i386.gz> > (or whatever for your architecture) > this is in dists/slink/ > > > zgrep xterm Contents-i386.gz | less > > if you get HEAPS of results, narrow it down with > > zgrep xterm Contents-i386.gz | grep bin | less > > and there will be the package name, no stress. > > Paul You are so right Paul! Here are some another ways. /var/state/apt/lists/ Contains the Package files for your dist/'s so grep or less the Package files and you know what all the packages contain. Might even find out something you want is there! Want to find out if you have a package installed and don't want to use dpkg or dselect? less /var/lib/dpkg/status It knows all! Now if only these tips could go into an FAQ maybe my mailbox wouldn't be overflowing. Even little frogs could mail less. Wayne -- In a five year period we can get one superb programming language. Only we can't control when the five year period will begin. _______________________________________________________ Wayne T. Topa <[EMAIL PROTECTED]>