Below are links where you can learn about the complete functioning of the apt package manager, used in debian, ubuntu, mint, pclinuxos, etc and where you can learn about the complete functioning of the rpm/yum package manager, used in redhat, fedora, mandriva, and other redhat family distros...