Hi cdhuram,
With all the due respect I've to Matt Kilgore, its install_lnx.sh script is obsolete (last revision #4 as of 2013), has problems with some recent distributions, doesn't handle properly the latest gcc compilation settings, is complex to modify and is very limited to the strict minimum installation.
This is why I wrote a multi lingual installation script to install not only QB64 but all together InForm and vWATCH64 with just few mouse clicks.
More, this script allows you to create QB64, InForm and vWATCH convenient starter icons directly on your desktop as well as a link icon to the folder where QB64, InForm and vWATCH are normally installed (/opt/qb64).
Further, you can also invoke QB64, InForm and vWATCH from the Programming sub menu of the main menu as well as with a double click on their relevant icons in the folder where they are installed (/opt/qb64).
And even more, you can launch QB64, InForm and vWATCH from any terminal session without being obliged to be inside the folder where they're installed by simply typing their names: "qb64" or "inform" or "vwatch".
This means you can now use the QB64 command line from anywhere on your system exactly as it's the case for any other de facto standard compiler (i.e. gcc) using a command line like this sample:
"~$ qb64 -x /my-folder-source/mysource.bas -o /my-folder-executable/myprogram"
This script displays its messages in English (by default) or accordingly to your language system settings in French, German, Russian and, thanx to Fellippe Heitor, in Portuguese.
Another point is that this script takes care of the gcc compilation option settings and manages the no-pie directive needed on some of the last Linux distributions such as Linux Mint 19 or Ubuntu 18, allowing to start your own executables with a double click on their relevant icons.
Last point, this script also allows you to cleanly uninstall these three tools and is available for different distributions (including but not limited to ArchLinux, Bridge, CentOS, Debian, ElementaryOS, Fedora, LinuxMint, LMDE, Manjaro, Neon, Ubuntu and all its derivatives like Lubuntu or Kubuntu, and Zorin).
To get this script, visit my dedicated web page:
www.as2.com.
You can get a video I made to show the interest of using this script on a Linux Mint 19 Cinnamon 64 distribution here:
www.as2.com/qb64/videos/qb64-install-3.avi (it's a 279 Mb .avi file).
Hope this helps.