Is there a Liberty Basic Language software for Linux?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
davidhk129
Level 2
Level 2
Posts: 78
Joined: Sun Sep 27, 2015 12:14 pm

Is there a Liberty Basic Language software for Linux?

Post by davidhk129 »

30 or 40 some what years ago, I self-taught myself on Basic Language programming. At the time, I had an IBM "portable" computer, a huge printer, floppy disks, recorder, all those cool stuff. Never put the knowledge to use. It was never popular.
Now at the age of 79, I came across Liberty Basic Language software and I installed it to my Windows PC.
I read somewhere that there is a Liberty Basic Language software for Linux. But I can't find it.
Does anyone know?
Thank you.
Last edited by davidhk129 on Sat Oct 01, 2022 11:51 am, edited 1 time in total.
User avatar
Pierre
Level 21
Level 21
Posts: 12700
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Is there a Liberty Basic Language software for Linux?

Post by Pierre »

from their own web page:
Q: Does Liberty BASIC work with Vista, Windows 7, Windows 8 and Windows 10?
A: Yes. Liberty BASIC v4.5.1 is supported to work with these versions of Windows.

Q: Can I use Liberty BASIC on MacOS, Linux or Raspberry Pi?
A: Current versions of Liberty BASIC work only on Windows, but Liberty BASIC version 5 which is actively being developed will work on Windows, MacOS, Linux and the Raspberry Pi.
https://www.libertybasic.com/faq.html

we used to used ms-basic / Qbasic back in the day,
and the Basic program faded away, for most of us.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Coggy
Level 4
Level 4
Posts: 201
Joined: Thu Mar 31, 2022 10:34 am

Re: Is there a Liberty Basic Language software for Linux?

Post by Coggy »

It looks as though Libery Basic 5 is not released yet.

There are two basic interpreters in the repositories that you might like to try:

Package: bwbasic
Description: Bywater BASIC Interpreter
The Bywater BASIC Interpreter (bwBASIC) implements a large superset of the
ANSI Standard for Minimal BASIC (X3.60-1978) and a significant subset of
the ANSI Standard for Full BASIC (X3.113-1987) in C. It also offers shell
programming facilities as an extension of BASIC. bwBASIC seeks to be as
portable as possible.

Package: yabasic
Description: Yet Another BASIC interpreter
Yabasic is a traditional basic-interpreter. It comes with goto and
various loops and allows one to define subroutines and libraries.
It does simple graphics and printing. Yabasic can call out to libraries
written in C and allows one to create standalone programs.
Yabasic runs under Unix and Windows and has comprehensive documentation;
it is small, simple, open-source and free.

Use sudo apt install bwbasic or sudo apt install yabasic.

I have not tried either, I just did "apt search basic".
It looks like neither can create GUI windows directly, but I guess either could use zenity commands to create dialog boxes. zenity is preinstalled. Just try this command: zenity --question && zenity --error from console to see how easy that is.

I don't want to start another holy war, but you could perhaps consider learning python3. In my opinion, it has taken the place that basic used to hold in the 80s as a good beginner language. It's more capable than basic and you will get much more help with any questions.
sideband
Level 2
Level 2
Posts: 68
Joined: Mon Apr 20, 2015 4:25 am

Re: Is there a Liberty Basic Language software for Linux?

Post by sideband »

BBC BASIC for SDL is cross platform and available for 32-bit and 64-bit Linux systems. I use it with Linux Mint 20.3

http://www.bbcbasic.co.uk/bbcsdl/

The author also provides some utility software for Liberty BASIC

http://www.bbcbasic.co.uk/products.html
davidhk129
Level 2
Level 2
Posts: 78
Joined: Sun Sep 27, 2015 12:14 pm

Re: Is there a Liberty Basic Language software for Linux?

Post by davidhk129 »

Thank you all supplying valuable info.
User avatar
MikeNovember
Level 6
Level 6
Posts: 1125
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Is there a Liberty Basic Language software for Linux?

Post by MikeNovember »

Hi,

BaCon, BASIC to C converter, https://basic-converter.org/
About
BaCon is a free BASIC to C translator for Unix-based systems, which runs on most Unix/Linux/BSD platforms, including MacOSX. It intends to be a programming aid in creating tools which can be compiled on different platforms (32bit and 64bit), while trying to revive the days of the good old BASIC.
BaCon can be described as a translator, a converter, a source-to-source compiler, a transcompiler or a transpiler. It also can be described as a very elaborate preprocessor to C. BaCon is implemented in generic shell script and in itself. Therefore, to start using Bacon, the target system must have either Korn Shell, or ZShell, or Bourne Again Shell (BASH) available.
So, you program in Basic and finally gets a compiled binary.

Regards,

MN
_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel, Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)
davidhk129
Level 2
Level 2
Posts: 78
Joined: Sun Sep 27, 2015 12:14 pm

Re: Is there a Liberty Basic Language software for Linux?

Post by davidhk129 »

sideband wrote:
Sat Oct 01, 2022 8:54 am
BBC BASIC for SDL is cross platform and available for 32-bit and 64-bit Linux systems. I use it with Linux Mint 20.3

http://www.bbcbasic.co.uk/bbcsdl/

The author also provides some utility software for Liberty BASIC

http://www.bbcbasic.co.uk/products.html
Hi, the BBC Basic link provided says that it is for x86 CPU only.
My computer is a 64 bit.
Attachments
Image 003.jpg
sideband
Level 2
Level 2
Posts: 68
Joined: Mon Apr 20, 2015 4:25 am

Re: Is there a Liberty Basic Language software for Linux?

Post by sideband »

http://www.bbcbasic.co.uk/bbcsdl/ shows downloads for 32-bit and 64-bit

After "unzipping" bbclinux.zip install64.txt explains the install process.....then ./bbcsdl2 will run the BBC BASIC IDE

Installing SDL 2.0 on Linux systems:

64-bit Debian / Mint / Ubuntu:

sudo apt-get install libsdl2-2.0-0
sudo apt-get install libsdl2-ttf-2.0-0
sudo apt-get install libsdl2-net-2.0-0

The graphics and other examples provided in the package demonstrate what can be achieved
Last edited by sideband on Sat Oct 01, 2022 5:14 pm, edited 1 time in total.
davidhk129
Level 2
Level 2
Posts: 78
Joined: Sun Sep 27, 2015 12:14 pm

Re: Is there a Liberty Basic Language software for Linux?

Post by davidhk129 »

sideband wrote:
Sat Oct 01, 2022 4:51 pm
http://www.bbcbasic.co.uk/bbcsdl/ shows downloads for 32-bit and 64-bit
My apology. I didn't scroll down far enough.
You were right. Thank you.
Post Reply

Return to “Software & Applications”