Is the word "understand" used in the same way in the following two sentences?

I understand wanting more.

I understand how to do it.
the same meaning