On 2017-03-22 03:25, L A Walsh wrote:
Patrick Shanahan wrote:
http://software.opensuse.org/search Searches for packages. Not 3-letter commands.
How do people search for files? Just saw the same type of question on the vim list -- he wanted to find where his distro (CentOS) had a particular header file. I had to create a 550MB rpm-file-listing to be able to find what package or rpm a given file was in.
Ah, then have a look at the command "pin", because it does exactly that - except that the file list is obtained from ARCHIVES file in the DVD. Or from the ftp server. Or use the command "webpin", which does a similar thing but against an online database of all repos. The problem is, it fails often.
Even then for a short name name, there are often way too many matches (410 matches for string 'cnf') to be very useful.
cnf is very useful for commands.
How are users suppose to find files in their distro? I don't know of many that would know how or want to create a 550MB index even when it is useful.
I do ;-) Reminds me, I don't have it yet for leap.
p.s. -- tnx, Carlos for a useful reply! I didn't even know 'cnf' stood for something until I saw the package name (though it was a configuration tool I didn't have).
Yes, funny name :-) -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))