Installing dependencies and configuring our environment

I am confused can anyone redirect me which one to follow?

Try this updated install and let me know how it goes:

https://community.dojofordrones.com/t/failed-for-submodule-update-init-recursive/947/4

it redirected older replyes

Not sure what you are doing. Works fine as shown.

you are saying to just copy paste all the commands right

Start with a clean installation of a current Ubuntu. Then copy/paste all the statements. You should be able to do this all at once.