From the KDE neon website at
https://neon.kde.org/download
I installed the User Edition.
I then installed build-essential.
sudo apt install build-essential
Then I installed
FreeBASIC-1.07.1-ubuntu-18.04-x86_64.tar.xz
and tried to compile hello.bas in the examples directory but got the message
ld: cannot find -lncurses
so then I installed libncurses5-dev
sudo apt install libncurses5-dev
and again tried to compile hello.bas in the examples and was successful.
To make fbc (FreeBASIC Compiler - Version 1.08.0)
I had to install git
sudo apt install git
I then cloned the FreeBASIC repo at Git
sudo clone https://github.com/freebasic/fbc.git
and when I ran make, I found that I had to
sudo apt install libgpm-dev
sudo apt install libx11-dev
sudo apt install libffi-dev
sudo apt install libgl1-mesa-dev
sudo apt install libxpm-dev
sudo apt install libxrandr-dev
Now, I have a
FreeBASIC Compiler - Version 1.08.0 (2019-10-23), built for linux-x86_64 (64bit)