Will apt-get upgrade upgrade all my installed software?

This question is probably already asked but I could not find clear answer. I am using Lubuntu 13. 10. How do I fully update via terminal? I do:

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade

Will these commands update my whole system? If I download an outdated app, will it be updated from these commands?


Yes the above will upgrade all installed packages including any installed using apt-get but not any you installed by compiling from source.

How do I update Ubuntu manually?