wrote a ‘pkg_search‘ utility that runs a bit more easily than ‘bmake search’ for finding packages in pkgsrc. It’s available from his site, which has a number of other utilities and papers on it worth reading.
3 Replies to “pkg_search available”
Comments are closed.
and what about pkgfind?
−C Search in the “COMMENT†field, instead of looking at package
names.
−c Do case sensitive searches.
−M Search in the “MAINTAINER†field, instead of looking at package
names.
−n number
Stop searching after number packages are found.
−q Don’t show the comment in the output, only the package name.
−x Do exact word searches.
the only problem of pkgfind, that it has a lot of bsd-ism in the code, so i had to modfy it when i wanted to compile it on solaris without nbcompat.
i will try pkg_search if its a good alternative for pkgfind with pkgsrc
Is pkgfind the common tool used for the NetBSD’s pkgsrc to find software for a certain purpose?
I think it’s a tool you can add via pkgsrc, but it’s not installed by default. I daresay the most common tools at this point are find, locate, and ls.