Page 2 of 3

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Sat Jun 06, 2020 4:37 pm
by mk-soft
If you want to test the programs or just want to try them on Linux, the way via virtual machines is the right way.

The PB programs run to 99.9999% on virtual machines, so it is better to test them on them.

With me everything runs in VM's (Hostsystem Mac-Mini 2018,I7,32 GB Ram)
Windows XP, 7, 10; Linux x86 and x64

But first test the PB-version 5.70 on your laptop

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Sat Jun 06, 2020 6:02 pm
by deeproot
Thanks very much mk-soft - simple install guide is very useful :)

For information of others: - instructions also work fine for the MX Linux distro, both 64-bit and 32-bit, latest version 19.2 (at time of writing!) but also apply to previous releases 17 and 18. The Webkit situation is the same as for Ubuntu and is no longer available with 19.x

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Wed Jun 10, 2020 8:49 am
by PB_Rainer
Hello,

because I hate unsolved problems, I'm back again with Linux here. I have installed it on an external USB-HDD with Grub-bootmenu, so that I can start Win10 from intrernal HDD or Linux from the external HDD. It's working well.

Here systeminfo:
System: Host: rainer-Precision-M4500 Kernel: 5.0.0-32-generic i686 bits: 32 compiler: gcc
v: 7.4.0 Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine: Type: Laptop System: Dell product: Precision M4500 v: 0001 serial: <filter> Chassis:
type: 9 serial: <filter>
Mobo: Dell model: 0RRH3K v: A00 serial: <filter> BIOS: Dell v: A04 date: 07/08/2010
Battery: ID-1: BAT0 charge: 75.7 Wh condition: 75.7/73.3 Wh (103%) volts: 12.3/11.1
model: Samsung SDI DELL H139197 serial: <filter> status: Full
CPU: Topology: Dual Core model: Intel Core i5 M 520 bits: 64 type: MT MCP arch: Nehalem
rev: 2 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19150
Speed: 2633 MHz min/max: 1199/2400 MHz Core speeds (MHz): 1: 2648 2: 2714 3: 2642
4: 2765
Graphics: Device-1: NVIDIA GT216GLM [Quadro FX 880M] vendor: Dell driver: nvidia v: 340.108
bus ID: 01:00.0 chip ID: 10de:0a3c
Display: x11 server: X.Org 1.19.6 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1600x900~60Hz
OpenGL: renderer: Quadro FX 880M/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 direct render: Yes
I installed "anyway" a PureBasic Version and this is working too, not sure if everything is ok.
Version 5.70 LTS (Linux - X86)
I have tried all other versions without any success)
But now I have the next problem which I will describe in the "I hope" right thread.

Regards Rainer (who calls himself after installing Linux and PB for Linux "SUDO-kan Rainer")

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Tue Sep 22, 2020 8:57 pm
by SnowyDog
mk-soft wrote:Ah,
Ok, use older version from purebasic (pb v5.70)
Its a problem with zlib.
You can see the problem, when you starting the ide from terminal.
michael@Ubuntu-1604:~/Apps/purebasic-v572/compilers$ ./purebasic
./purebasic: /lib/i386-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by ./purebasic)
My fixed IDE can work with pb v5.70

P.S. Alternate
Install VirtuelBox and VirtualBox Extension Pack on windows
Create Linux Machines: Examples
- Ubuntu 18.04 LTS (If used WebGadget)
- Ubuntu 20.04 LTS

Link: https://www.virtualbox.org/wiki/Downloads
So, is there a fix for the ZLIB problem on a real machine? I need to install PB on Ubuntu 16.04 LTS (32-bit) but am hitting this problem.

Thanks
Robin

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Sat Oct 10, 2020 5:27 pm
by GPI
First of all, thank you for your guide, without purebasic would not run. Fred should really add a install.sh and update _checkinstall.sh - seams outdated...

but i don't understand this:
mk-soft wrote: Desktop Link File for Purebasic
- Create desktop file with GEdit
- Change path to purebasic and save as "purebasic-v5.72.desktop" on desktop folder.
- Change property of desktop file to enable "Run As Program"
[Desktop Entry]
Type=Application
Icon=/home/michael/Apps/purebasic-v572/logo.png
Name=Purebasic v5.72
Comment=Developer Utility
Exec=/home/michael/Apps/purebasic-v572/compilers/purebasic
Path=/home/michael/Apps/purebasic-v572/compilers
StartupNotify=false
Terminal=false
it seems, that ubuntu (downloaded today - so up to date) don't want links any more. I activated icons on desktop with the tweak-app, but i can't create functional "purebasic.desktop".

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Sat Oct 10, 2020 8:13 pm
by mk-soft
You have to edit the file in the folder /home/[user]/desktop and then allow it to start from the desktop, with the right mouse button (contents)

The "Allow Start" is new in Ubuntu 20.04

I can't say exactly how it is in English under Ubuntu, because I have the German GUI

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Thu Mar 04, 2021 3:54 pm
by ricardo_sdl
Thank you mk-soft! Your instructions worked. For the games part I also had to run these:
sudo apt-get install libgl1-mesa-dev libgl1-mesa-glx

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Fri Mar 05, 2021 7:56 pm
by filip
Thank you mk-soft ;-)

It works also on ZORIN OS V15.3

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Thu May 13, 2021 2:16 pm
by mk-soft
Update
- Added: Install packets for games
- Added: How to install zlib-1.2.9 for older Linux and Mint version

:wink:

Re: Simple install of PureBasic (Ubuntu, Mint)

Posted: Wed Dec 01, 2021 6:13 pm
by mk-soft
Update descriptions :wink:

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

Posted: Tue Dec 28, 2021 8:17 pm
by mk-soft
Update Descriptions
- Works fine with Raspberry PI Desktop :wink:

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

Posted: Fri Jun 10, 2022 4:13 pm
by Fred
@mk-soft, can I just copy your instruction into the INSTALL file of pb linux (and remove the outdated checkinstall.sh) ? I think it's enough and much cleared than the actual script.

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

Posted: Fri Jun 10, 2022 8:57 pm
by mk-soft
Fred wrote: Fri Jun 10, 2022 4:13 pm @mk-soft, can I just copy your instruction into the INSTALL file of pb linux (and remove the outdated checkinstall.sh) ? I think it's enough and much cleared than the actual script.
Yes, in any case.
I hope that everything in my description is complete.

Maybe also the description how to create the desktop files
For Raspberry: Add PureBasic IDE to Start Menu Development from LXpanel.

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

Posted: Sat Jun 11, 2022 7:57 pm
by sscherer
Just installed on Ubuntu 22.04 - followed the steps outlined by OP, and it is working fine!

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

Posted: Mon Jun 13, 2022 10:26 am
by deeproot
Fred wrote: Fri Jun 10, 2022 4:13 pm @mk-soft, can I just copy your instruction into the INSTALL file of pb linux (and remove the outdated checkinstall.sh) ? I think it's enough and much cleared than the actual script.
Very good idea :) Great contribution from mk-soft - I have now used it many times for various versions and different flavours of MX, AntiX and Mint. Works perfectly every time and would imagine is fine for any Debian derived distro.

This is personally all I need. However, a suggestion that might help some people - - it would be even better if sections were added to INSTALL for other popular distro types. Maybe some forum users already have this information and could contribute? For example I remember seeing some posts about installing on Fedora (dnf command?). Also perhaps something for OpenSuse (zypper?) and Arch based distros (pacman) would be good. Not proposing anything excessive - just a few tips for major alternatives :idea: