Installing on 64-bit Debian 12

Linux specific forum
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Installing on 64-bit Debian 12

Post by Quin »

I wrote a client/server application in PureBasic, and I'd now like to put my server on Linux. More specifically, on my Linode running Debian 12, x64. The only version of PureBasic offered for Debian seems to be x86, which would work but this server does a lot and handles a lot of data, I could see myself running out of ram. What's the best way to proceed here? Grab the version for Ubuntu 20.04/22.04? 24.04? I really don't understand linux binary compatibility...
User avatar
mk-soft
Always Here
Always Here
Posts: 6201
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Installing on 64-bit Debian 12

Post by mk-soft »

Probably the version Ubuntu 20.04, 22.04
Only a few use the new clib and kernel like Ubuntu 24.04.

The download shows the versions on which PureBasic was compiled and tested.
I myself use Mint Linux LMDE 6 which has no reference to Ubuntu.

So for Linux distributions for ARM processors the PureBasic Raspberry version for example. (also macOS M1/M2 with VM Linux for ARM)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Installing on 64-bit Debian 12

Post by Mijikai »

One worked for me but i cant remember which one it was. :oops:
User avatar
moulder61
Enthusiast
Enthusiast
Posts: 188
Joined: Sun Sep 19, 2021 6:16 pm
Location: U.K.

Re: Installing on 64-bit Debian 12

Post by moulder61 »

Hi Quin,

The way I understand it is that the Debian version is for 32bit Linux, the others 64bit. It is a bit confusing calling it the Debian version because you could reasonably assume it's just for Debian. Then you get the Linux newbies thinking they have to install Ubuntu or Debian to get PB working. Not the case.

I believe they are tested and compiled to work on those distributions, although personally, I've got the 64bit versions working nicely on Void, Arch, Antix, Devuan and Salix to name a few.

Basically, use the the 32bit version on 32bit systems and the 64bit on 64bit systems. Ignore the names. Choose whatever Linux you prefer. Sometimes getting the dependencies installed can be fiddly, but it's definitely doable. ;)

Moulder.
"If it ain't broke, fix it until it is!

This message is brought to you thanks to SenselessComments.com

My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
User avatar
deeproot
Enthusiast
Enthusiast
Posts: 284
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: Installing on 64-bit Debian 12

Post by deeproot »

mk-soft wrote: Tue Apr 29, 2025 8:41 pm Probably the version Ubuntu 20.04, 22.04
I believe this is correct and will install fine on Debian 12 x64. I personally use MX Linux which is very closely based on Debian and directly uses the Debian repositories for updates. It's comparable with Mint Linux LMDE in some ways and Purebasic always installs and runs perfectly. I run both 64 bit and 32 bit systems, so use the install choices as described by moulder61. For the dependencies just follow mk-soft's simple install guide.
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Installing on 64-bit Debian 12

Post by Quin »

Thanks all for your replies, I managed to get it to work! You were correct, 20.04/22.04 works perfectly on Debian 12. The one for 24.04 throws up a libc version mismatch :twisted:
Post Reply