Additions links that might help (at least they helped me) with the execution of the commands above.
1.https://www.xda-developers.com/install-adb-windows-macos-linux/#adbsetuplinux
2.https://github.com/appium/appium/issues/13802#issuecomment-587802222...