I would like to program my RPi in BASIC which I understand will accept lines in assembler code.
I downloaded to my PC from http://www.freebasic.net/forum/viewtopi ... =5&t=21433
this file for Raspberry Pi:
fbc-0.91.0-pi-raspbian.tar.gz
How to install this on my Raspberry Pi 2 which has NOOBSv1.4.0 (Offline & network install)?
Do I just copy this file to my SD card? anywhere?
Then how is the program started?
Sorry all this is not obvious to a beginner.
Re: Freebasic install
The page you link to has the installation instructions!
Use the ARM7 debian version on a RPi2. (After installing Raspbian.)
Use the ARM7 debian version on a RPi2. (After installing Raspbian.)
Quis custodiet ipsos custodes?
Re: Freebasic install
Hi drgeoff!
I downloaded on my Rpi2 the ARM7 debian version which is listed for Beaglebone Black (BBB):
fbc-0.91.0-bbb-debian.tar.gz
I can't find which directory it landed in.
To first install Raspbian I entered;
sudo apt-get update
sudo apt-cache search Raspbian
Search results included:
linux-headers-rpi2-rpfv
linux-image-rpi2-rpfv
raspbian-archive-keyring
I installed these with:
sudo apt-get install linux-headers-rpi2-rpfv
sudo apt-get install linux-image-rpi2-rpfv
sudo apt-get install raspbian-archive-keyring
The first 2 seemed to install OK but the last one produced the messages:
Reading package lists...Done
Building dependency tree
Reading state information...Done
raspbian-archive-keyring is already the newest version
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Then on to install freebasic with:
cd $home
tar xfj fbc-0.91.0-bbb-debian.tar.gz
Which returns messages:
tar (child): fbc-0.91.0-bbb-debian.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
There didn't seem any point in continuing with remaining items, so freebasic is still not installed.
I'd appreciate more help, please.
ga5941
I downloaded on my Rpi2 the ARM7 debian version which is listed for Beaglebone Black (BBB):
fbc-0.91.0-bbb-debian.tar.gz
I can't find which directory it landed in.
To first install Raspbian I entered;
sudo apt-get update
sudo apt-cache search Raspbian
Search results included:
linux-headers-rpi2-rpfv
linux-image-rpi2-rpfv
raspbian-archive-keyring
I installed these with:
sudo apt-get install linux-headers-rpi2-rpfv
sudo apt-get install linux-image-rpi2-rpfv
sudo apt-get install raspbian-archive-keyring
The first 2 seemed to install OK but the last one produced the messages:
Reading package lists...Done
Building dependency tree
Reading state information...Done
raspbian-archive-keyring is already the newest version
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Then on to install freebasic with:
cd $home
tar xfj fbc-0.91.0-bbb-debian.tar.gz
Which returns messages:
tar (child): fbc-0.91.0-bbb-debian.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
There didn't seem any point in continuing with remaining items, so freebasic is still not installed.
I'd appreciate more help, please.
ga5941
Re: Freebasic install
Solution seems t obe to find the file you downloaded...
If you can't find it just download it again...
If you can't find it just download it again...
Re: Freebasic install
Hi!
Downloaded the file again and now its in ~/Downloads
so in this directory I entered:
sudo ./install.sh i /usr
which returned:
FreeBASIC compiler successfully installed in /usr
Sounds like success but not quite!
In desktop LXTerminal mode, the window opens in pi@raspberrypi /usr $ and when I enter "fbc" I get
the useage form and a long list of options. Tried all kinds of input combinations without luck. Am
closer to my objective but still can't get fbc to open in an editor mode so I can input some code.
ga5941
Downloaded the file again and now its in ~/Downloads
so in this directory I entered:
sudo ./install.sh i /usr
which returned:
FreeBASIC compiler successfully installed in /usr
Sounds like success but not quite!
In desktop LXTerminal mode, the window opens in pi@raspberrypi /usr $ and when I enter "fbc" I get
the useage form and a long list of options. Tried all kinds of input combinations without luck. Am
closer to my objective but still can't get fbc to open in an editor mode so I can input some code.
ga5941
Re: Freebasic install
fbc does not seem to be an IDE, just a compiler, so you'll have to use an external text editor to code.