Listing files contained in an installed package

GNU/Linux
To know the files contained in an installed package, run the dpkg command in Debian/Ubuntu and derivatives and rpm command in CentOS/Fedora/RHEL