StrechDog,XenialDog,DebianDog,TrinityDog...

Linux specific questions.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

StrechDog,XenialDog,DebianDog,TrinityDog...

Post by aurelVZAB »

hello
anyone have experience or use this puppy -like debians ..ubuntus
and how install FB on them ?
Munair
Posts: 1286
Joined: Oct 19, 2017 15:00
Location: Netherlands
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by Munair »

I recommend MX Linux, which is Debian based and Linux newbie friendly.

Usually on Debian-like distro's FBC is in the repository. If Synaptic is installed, fire it up and search for FreeBASIC. If you select it, probably a whole bunch of dependencies (dev packages) will be shown. Confirm and let Synaptic install everything. Afterwards, you should be able to run FBC from the console/terminal.

Any Debian-based distro will most likely have FBC 1.08 in the repository. If you want the latest version (1.09), then install FBC manually and follow the readme to install additional required packages.

I use Geany (definitely in every repository) as programming editor. It recognizes FB and by hitting F8 you can compile/build FB code and run it from the terminal like ./prog
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by aurelVZAB »

yeah
i forget but i download fb and install it using sudo install.sh
that part work, then when i click on .bas example ...then jump "freakin" Geany...
omg ...i hate that editor even is not bad and try to compile this example
and then i get nothing ...that really freaks me out and sucks
i read that geny need configuration file ..that is $%#@ part
and i give up again...

when i download XenialDog then i will see is it really worth to continue
or simply back to Windows..and stop wasting time with linux
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by badidea »

Start with the command line / terminal:

Code: Select all

fbc test.bas
./test
Only when that works, try an IDE.
Don't try to solve 2 problems at once.
Munair
Posts: 1286
Joined: Oct 19, 2017 15:00
Location: Netherlands
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by Munair »

aurelVZAB wrote:Geany...
omg ...i hate that editor even is not bad and try to compile this example
and then i get nothing
Geany should automatically recognize .bas and .bi files as FreeBASIC files. If not, load a .bas file and select: Tools -> Configuration Files -> Filetype Configuration -> Programming Languages -> filetypes.freebasic

I also have a definition file for Geany which you can download and save in the directory /home/Your-Account-Name/.config/geany/filedefs/. This file also includes build settings.

When hitting F8 in Geany your file should compile and in your source directory, as badidea showed, you will be able to run e.g. ./test
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by aurelVZAB »

MX recently become too heavy for my taste ..so i will try TrinityDog and XenialDog
and i hope that have HR keyboard..
well so far they run very fast and i like that .
dafhi
Posts: 1640
Joined: Jun 04, 2005 9:51

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by dafhi »

i've been using Devuan. lightweight, faster than Mint. has great screensavers xD
David Watson
Posts: 56
Joined: May 15, 2013 16:48
Location: England

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by David Watson »

If you're looking for a lightweight Linux try PeppermintOS. I have it installed on a cheap Celeron based laptop and it works great.
miilvyxg
Posts: 193
Joined: Dec 07, 2021 6:51

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by miilvyxg »

aurelVZAB wrote:hello
anyone have experience or use this puppy -like debians ..ubuntus
and how install FB on them ?
As normal Ubuntu and Debian, sudo ./install.sh -i
miilvyxg
Posts: 193
Joined: Dec 07, 2021 6:51

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by miilvyxg »

aurelVZAB wrote:yeah
i forget but i download fb and install it using sudo install.sh
that part work, then when i click on .bas example ...then jump "freakin" Geany...
omg ...i hate that editor even is not bad and try to compile this example
and then i get nothing ...that really freaks me out and sucks
i read that geny need configuration file ..that is $%#@ part
and i give up again...

when i download XenialDog then i will see is it really worth to continue
or simply back to Windows..and stop wasting time with linux
PoseidonFB, VisualFBEditor and IUP_FB_EDITOR to try. Geany is your best bet, though. Always available and always works. There is no need to configure anything. Support for FreeBASIC is builtin on Geany.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by aurelVZAB »

yes but how
it is set to fbc -w all
and imagine ...not work ..error in compilation
that really sucks

you cannot tell to geany in simple ways:

folder where is fb like
/usr/local/freeBasic/bin

it looks to me that stupid Geany don't know where is that folder on linux
no then he need configuration file ...come on too
frustrating for me
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by badidea »

And from the terminal it does work?

Here fbc in is in the path, so just fbc is enough.
To display the path environment variables: echo $PATH
dafhi
Posts: 1640
Joined: Jun 04, 2005 9:51

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by dafhi »

i had to copy the command shown by geany. then modified

Code: Select all

fbc -gen gcc -O 3 "%f"
Munair
Posts: 1286
Joined: Oct 19, 2017 15:00
Location: Netherlands
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by Munair »

aurelVZAB wrote:you cannot tell to geany in simple ways:

folder where is fb like
/usr/local/freeBasic/bin

it looks to me that stupid Geany don't know where is that folder on linux
no then he need configuration file ...come on too
frustrating for me
It is not 'stupid' Geany. If a compiler or other binary is in a bin folder, Geany will find it just as easily as executing it from the terminal. But if you install a program manually in a local folder or the program doesn't have sufficient rights then it won't work. This is because Linux is more secure than Windows and you will have to get used to that when using a Linux distribution.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: StrechDog,XenialDog,DebianDog,TrinityDog...

Post by aurelVZAB »

This is because Linux is more secure than Window
and this is really a BS statement..
what security if Geany jump on .bas file without my permision
is that secure ...no is not

in fb manual is stated install fb into /usr/local ..is that true ..YES
so wtf he don't know where is the freakin folder
puppy add another layer of c_rap
if i ever get it to work properly (i hope i will)
i will remove geany once for all and use Scite
Post Reply