fbc .deb packages for x86_64,i386,armhf

Linux specific questions.
Post Reply
sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

fbc .deb packages for x86_64,i386,armhf

Post by sgaba »

Hello
I generated .deb packages of fbc for x86_64,i386,armhf
It is a version 1.05.0 vanilla and git version.



You can download it at:
https://www.dropbox.com/sh/25s64q3woan5 ... 9d_7a?dl=0
or
https://drive.google.com/drive/folders/ ... cW-qKCrNdQ
It's still just x86_64 version but the i386 and ARMv7-hf will come soon.
how to:

install:

Code: Select all

sudo dpkg -i fbc_1.05.0_amd64.deb
sudo apt install -f -y
uninstall:

Code: Select all

sudo dpkg -P fbc
sudo apt autoremove -y
Bonus:
FbEdit Black Night scheme for Geany
how to:
download geany-themes-master.tar

Code: Select all

sudo apt install geany -y
tar -xf geany-themes-master.tar
cd geany-themes-master
sh install.sh
menu->view->change color scheme->FbEdit Black Night

Thanks if someone test it and giv me report. :)
Last edited by sgaba on Mar 07, 2023 8:26, edited 2 times in total.
St_W
Posts: 1627
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: fbc .deb packages

Post by St_W »

It would be nice if you could provide a script/program that automatically creates a .deb from a "normal" .zip package and/or describe how to use it.
Have you built/used something like that or was manual work involved for creating the .deb package?
sgaba
Posts: 31
Joined: Aug 15, 2005 19:18
Location: Czech Republic

Re: fbc .deb packages

Post by sgaba »

It's easy. There is example how generate .deb from sources from git repositary.

First you must have fbc installed on your debian baset (debian,ubuntu,mint....) machine.
You can download it from

Code: Select all

https://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/
unzip and as usual:

Code: Select all

sudo sh install.sh -i
and here it is:

Code: Select all

# install git and make and checkinstall
sudo apt install -y git make checkinstall
# clone fbc git repository
git clone https://github.com/freebasic/fbc.git
# install gcc and necessary libs
sudo apt install -y gcc libncurses-dev libgpm-dev libx11-dev libxext-dev libxpm-dev libxrandr-dev libxrender-dev libgl1-mesa-dev libffi-dev
# cd to fbc dir
cd fbc
# make fbc 
make
# generated .deb package
sudo checkinstall --install=no
Then follow the instructions and .deb it generate.
I added some dependences for automatic installation to my package:
gcc, libncurses-dev, libffi-dev, libgl1-mesa-dev, libx11-dev, libxext-dev, libxrender-dev, libxrandr-dev, libxpm-dev

btw there is some script to generate .deb in FreeBASIC-1.05.0-source/contrib/deb
Post Reply