How to get lensfun working for darktable

If your lens is not in Lensfun than you need to either submit some photos for it to be added or pray that someone else does it.
If it is, there is more to investigate, mosty if the files downloaded by the update command are where darktable is looking for them.