得
1. to obtain / to get / to gain / to catch (a disease) / proper / suitable / proud / contented / to allow / to permit / ready / finished
2. structural particle: used after a verb (or adjective as main verb), linking it to following phrase indicating effect, degree, possibility etc
3. to have to / must / ought to / to need to
It all depends on the context. For example,If by itself, it most probably means "got it" , indicating a: forbidden “得,别说了”b: agreement “得",就这么办”.
In your examples, it has the meaning of #2
得能莫忘 (from the Thousand Characters Classic) Literally, "obtaining ability not forget". i.e. when you become able (or had achieved something), do not forget those who had helped.
近水樓台先得月, 向陽花木易為春
suitable - 得体, 得法
satisfaction - 得意, 揚揚自得
ought to - 不得随地吐痰