https://help.ubuntu.com/community/AptGet/Howto Package management via apt-get runs hand-in-hand with the /etc/apt/sources.list file.