Probably GWBasic would run in Dosbox under Linux. Qbasic does. The easiest way
is to put the Qbasic programs (.bas files) into a folder and a copy of Qbasic in
the same folder. Then it is easy to start Qbasic with Dosbox and then open and
run the .bas files. Probably GWBasic would act similarly.