Because programming is more than typing on a keyboard.
rpm -qlp /path/to/file.rpm
repoquery -lq package_name
dpkg-query --listfiles package_name