I personally avoid software whose manual suggests this type of install because I think of the developers as not that intelligent ones.
I personally avoid software whose manual suggests this type of install because I think of the developers as not that intelligent ones.
Instead, you shoud wget, review and execute locally or something similar.
Maintaining that kind of monstruosity of shell scripts that have to work on all kind of OS or linux distros must be a giant PITA compared to the simplicity of making an appimage/flatpak and a set of deb/rpm packages for the most popular distros and clear instructions for port maintainers to do the same for archlinux and BSD systems.
This is far, far less complex than having to maintain and distribute an entire bundled runtime environment, deal with inconsistent behavior with the local config, etc. Flatpak and AppImage have their use cases, but by no means are they simpler than just putting binaries in the right places -- they are in fact an entire additional layer of complexity.
https://docs.waydro.id/usage/install-on-desktops (see Ubuntu section)