Qbasicnews.com

Full Version: Newbie Linux question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It's my first try at Linux. Can someone explain me this?
Code:
toni@ubuntu:~ $ FreeBASIC/fbc
Usage: fbc [options] inputlist


inputlist:    xxx.a = library, xxx.o = object, xxx.bas = source
              xxx.xpm = icon resource
options:
........
-w <value>    Set min warning level

toni@ubuntu:~ $ cd FreeBASIC

toni@ubuntu:~/FreeBASIC $ ls

agv_Projects   fblogo.xpm   install.sh  readme.txt
changelog.txt  examples                    help-us.txt  lib
docs           fbc                         inc          Projects

toni@ubuntu:~/FreeBASIC $ fbc

bash: fbc: command not found           <<<<<<What happens???

Aaaargh!!
You have probably to type ./fbc
Yes, it works...Thanks!

Going to read further my "Linux for Dummies" Big Grin
Did you run the install script install.sh? For me i had to go to a console and type:

sh install.sh

and then i could type fbc anywhere and it would work. I dont know though, i only tried it for asecond heh.
Yes, run the install.sh script in the FreeBASIC directory; you need to be root, so either execute an 'su' followed by './install.sh' or 'sudo install.sh', if your distro supports that. That will copy the binary and fb-specific libraries to a shared directory so you can run 'fbc' from anywhere.
Yeah, run ./install.sh and you can just type "fbc" anywhere.. the install script needs root privileges though.
As in Ubuntu su is not standard, you have to do it using the sudo command.
(or just sudo passwd to give a password for su and then su is "normally" usable)