fbc_1.06.0-1_amd64.deb

Linux specific questions.
Post Reply
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

fbc_1.06.0-1_amd64.deb

Post by Coolman »

I generated the deb package of freebasic 1.06 downloadable here :

https://ufile.io/yqj45

SHA256SUM : fbc_1.06.0-1_amd64.deb
02857992c0c9b83aa4a1de18e10b7f3083ac3bf3bcb161f87752b8f89976b943

for those who might be interested....
coderJeff
Site Admin
Posts: 4323
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: fbc_1.06.0-1_amd64.deb

Post by coderJeff »

Nice. Thanks.

What process did you use to create the package? Manually or script?
Is this a repackaging of the release binary? Or a recompile also?

The download page warns me that the download expires in a few weeks. If you can provide some details on how the package was made, and a few users can test that the package works OK for them, we could probably upload it to fbc on sourceforge.net. This is kind of what I was talking about in some other posts, with some packages being created by the community.
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: fbc_1.06.0-1_amd64.deb

Post by Coolman »

I used this post :
viewtopic.php?f=5&t=25266&p=227176&hilit=deb#p227176

I generated the package in a lxd container to avoid installing too many dependencies in the real system. I didn't modify anything in the original freebasic source code. I used freebasic 1.05 to compile version 1.06. you can upload the package to sourceforge.net if you want.

for more details. check out my tutorial here https://tech.korben.info/t/install-kde- ... uces/13146:

at the end of the tutorial. Sorry. In French.
coderJeff
Site Admin
Posts: 4323
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: fbc_1.06.0-1_amd64.deb

Post by coderJeff »

Ok, thanks. Uploaded to sf.net and added the following to the 1.06.0 News post

Binaries - User Contributed
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: fbc_1.06.0-1_amd64.deb

Post by Coolman »

coderJeff wrote:Ok, thanks. Uploaded to sf.net and added the following to the 1.06.0 News post

Binaries - User Contributed
Thank you. That's better. I forgot to congratulate you on the excellent job you did to promote freebasic. Impressive.
 
coderJeff
Site Admin
Posts: 4323
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: fbc_1.06.0-1_amd64.deb

Post by coderJeff »

Coolman, could you please look at bug report on sf.net #905 Deb installer's documentation problems.

Thanks.
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: fbc_1.06.0-1_amd64.deb

Post by Coolman »

coderJeff wrote:Coolman, could you please look at bug report on sf.net #905 Deb installer's documentation problems.

Thanks.
Hello,

it's not really a bug. freebasic's makefile has been simplified under Linux and doesn't respect the standard. personally I copy manually (accessible in the git) the example files and freebasic documentation in a specific directory in the user's home to be able to access them. maybe it would be better not to include the documentation or examples in the deb archive anymore because it's true that it takes up a lot of space...

otherwise it would be necessary to modify in depth the makefile of freebasic to respect the standard....
coderJeff
Site Admin
Posts: 4323
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: fbc_1.06.0-1_amd64.deb

Post by coderJeff »

I've never created .deb archive so I don't know what can be done or not. And it's been a while since I tested `./install.sh`. Documentation and examples could be separate packages I suppose.

Usually, I install fbc after compiling it, using `make install`, though I do notice that fbc.1 doesn't get copied to a known location, so `man fbc` won't work by default. I guess I haven't really paid much attention to it, typically using the on-line wiki all the time.
Coolman
Posts: 294
Joined: Nov 05, 2010 15:09

Re: fbc_1.06.0-1_amd64.deb

Post by Coolman »

using make install under linux is not recommended because it will be difficult to uninstall the program usefully whereas with the deb format it is very easy...

to generate a deb file you have to use checkinstall....

for examples and documentation, it will not be accessible to the user without root access anyway. as for the man file it is more suitable for small programs. it doesn't have much interest for fbc...

Ideally, beginners should be informed that they must manually copy the example files and freebasic documentation into a specific directory accessible under home....

for information I use geany as an editor under freebasic.
Post Reply