Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Linux specific forum
User avatar
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: Simple install of PureBasic 6.01 Ubuntu 22.04 LTS

Post by greyhoundcode »

emm wrote: Sun Mar 26, 2023 1:06 am sudo apt install libgnome-2.0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libgnome-2.0
E: Couldn't find any package by glob 'libgnome-2.0'

Those 2 packages are not available for Ubuntu 22.04 according to packages.ubuntu.com and

libgnome-2.0:
https://packages.ubuntu.com/search?suit ... bgnome-2.0
-> don't exist for any ubuntu release... Name is surely misspelled
Similarly stuck trying to get PB up and running with Mint 21.3 Cinnamon (which is based on Ubuntu 22.04, afaik).
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by mk-soft »

I will install Mint-Linux 21.3 as a VM and test the PB version.
It will take a while. About 1 hour.
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
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by mk-soft »

I have now installed Mint Linux 21.3 with all updates.

Then unpacked Purebasic v6.10 and v6.11 and rename into the folder /home/[username]/Apps according to my installation instructions and installed the required developer packages with INSTALL instructions.

In the INSTALL file of Purebasic the packages are still missing for SysTrayIcon
sudo apt-get install libappindicator3-1
sudo apt-get install libappindicator3-dev

To start PureBasic from the menu the following desktop files are created and saved in /home/[username]/.local/share/applications

Change username inside path !

purebasic-v610.desktop

Code: Select all

[Desktop Entry]
Type=Application
Icon=/home/michael/Apps/purebasic-v610/logo.png
Name=PureBasic v6.10 (gtk3)
Comment=Developer Utility
Categories=Development
Exec=/home/michael/Apps/purebasic-v610/compilers/purebasic
Path=/home/michael/Apps/purebasic-v610/compilers
StartupNotify=true
Terminal=false
I like to use geany to edit the desktop files
sudo apt install geany

Work here well ;)

P.S.
The package libgome-2.0 is obsoleted and not needed!
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
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by greyhoundcode »

mk-soft wrote: Sat May 25, 2024 5:15 pm
P.S.
The package libgome-2.0 is obsoleted and not needed!
Ah, ok. I assumed it was needed, since the check install script reports it as a problem. Thank you for looking, will give it another blast!
User avatar
greyhoundcode
Enthusiast
Enthusiast
Posts: 112
Joined: Sun Dec 30, 2007 7:24 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by greyhoundcode »

... Up and running, thanks for the help: last time I was doing much of anything with PB, I was doing it on Windows, and that was quite some time ago.

I'm probably in a minority here (also, not too sure how this would work with licensing in the sense of only making it available to those who have purchased PB) but, wouldn't it be great to have a Docker container with PB ready-to-go to compile programs for Linux 64bit?
PeDe
Enthusiast
Enthusiast
Posts: 278
Joined: Sun Nov 26, 2017 3:13 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by PeDe »

I was able to install and run PB v6.12b3 on Debian 12.6.0 i386. But with Debian 12.6.0 AMD64 PB v6.12b3 will not start.

Code: Select all

pedre@joyit:~/Programme/PureBasic-v6.12/compilers$ ./purebasic
./purebasic: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
./purebasic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./purebasic)

PB v6.11 works without any problems. I installed Debian with Cinnamon desktop today, and didn't change anything else.
Is there a solution?

Peter
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by useful »

You have not specified which specific one of the list you are trying to run
PureBasic 6.12 Beta 3 for Linux (Ubuntu 18.04 - x64)
PureBasic 6.12 Beta 3 for Linux (Ubuntu 20.04 or 22.04 - x64)
PureBasic 6.12 Beta 3 for Linux (Ubuntu 24.04 - x64)

p.s.
24.04 LTS Noble Numbat trixie/sid 13
23.10 Mantic Minotaur trixie/sid 13
23.04 Lunar Lobster bookworm/sid 12
22.10 Kinetic Kudu bookworm/sid 12
22.04 LTS Jammy Jellyfish bookworm/sid 12
Last edited by useful on Wed Aug 28, 2024 12:14 pm, edited 2 times in total.
Dawn will come inevitably.
PeDe
Enthusiast
Enthusiast
Posts: 278
Joined: Sun Nov 26, 2017 3:13 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by PeDe »

I have tested all 3 versions and always get the same message.

Peter
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by useful »

I have downloaded and checked it now. It works great.
PureBasic 6.12 Beta 3 for Linux (Ubuntu 20.04 or 22.04 - x64)
https://github.com/minios-linux/minios-live
Dawn will come inevitably.
PeDe
Enthusiast
Enthusiast
Posts: 278
Joined: Sun Nov 26, 2017 3:13 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by PeDe »

Yes, but unfortunately not with the current Debian 12.6.0.
I'm about to try switching to Linux. I have also looked at Ubuntu, PB works with it, but I like Debian with Cinnamon better.

Peter
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by useful »

Dawn will come inevitably.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by mk-soft »

Work here with Debian GNU/Linux 12 (bookworm) and PB Version 6.12b3 (Ubuntu 20.04-22.04)
michael@vm-debian-64:~$ uname -a
Linux vm-debian-64 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
If I remember correctly, I also had to install the developer pack first. See PB INSTALL

P.S.

In order to select the colourful theme from PB, ‘zip’ must be installed
sudo apt install zip
Last edited by mk-soft on Wed Aug 28, 2024 1:23 pm, edited 1 time in total.
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
PeDe
Enthusiast
Enthusiast
Posts: 278
Joined: Sun Nov 26, 2017 3:13 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by PeDe »

Thanks, I have restarted the PC and PB is now working.

Peter
PeDe
Enthusiast
Enthusiast
Posts: 278
Joined: Sun Nov 26, 2017 3:13 pm

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by PeDe »

Just a note because I'm sure it was my mistake.
I had the terminal open in the directory of PB '~/Programs/PureBasic-v6.12/compilers/'.
The start of the version for Ubuntu 24.04 did not work. Then I renamed the directory from the version for Ubuntu 22.04 to 'PureBasic-v6.12'. But I did not change anything in the terminal, and the start did not work again. Maybe that was the error.

Peter
kake26
Enthusiast
Enthusiast
Posts: 157
Joined: Sun Jan 25, 2004 7:21 pm
Contact:

Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)

Post by kake26 »

Hi all,

I am going to chime in here with how I fix make sure purebasic works regardless of the Linux distro I use. Simply put I stuff it all in a container. I currently run PureBasic on Garuda Linux which is Arch Linux based. I have recently posted the instructions on how to do it on another post which I will link here. viewtopic.php?t=85255 . It might be a bit more of a high level solution(but still simple), but it works really well. If you ever tried to make it work else where thats not a Ubuntu based distro you know what a pain it can be resolving all the requirements. That's all I'd though I'd add this here in hopes it may help people.
Post Reply