Question: how to install ubports in ubuntu?
Answer: Windows: ubports-installer-<version-number>.exe.
macOS: ubports-installer-<version-number>. dmg.
Ubuntu or Debian: ubports-installer-<version-number>. deb.
Other Linux distributions (snap): ubports-installer-<version-number>. snap.
Other Linux distributions (AppImage): ubports-installer-<version-number>. AppImage.