How do I find all the files either in source or in binary form in Debian package archive?
I tried the following but results were not helpful at all:
apt-file search *.c and
apt-file search *.cc So it either means that there are no c or cc files in the Debian archive (highly unlikely) or my search method was not good (more likely). The apt-file index is already updated.
apt-filedoes not cover Debian source packages, only Debian binary packages. There is also codesearch.debian.net, but as far as I know, there is no equivalent service available locally.debtags search "implemented-in::c"send the output to another file or stdout. Take any of those packages, download them viaapt-get source $PACKAGENAMEand then extract from the original.tar.gz and then you know which files are in .c . Admittedly this is not scalable unless content indices for source packages are born sometime in this century.