Simple install of PureBasic (Ubuntu, Mint, Raspberry)
Re: Simple install of PureBasic (Ubuntu, Mint)
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
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
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Enthusiast
- Posts: 271
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: Simple install of PureBasic (Ubuntu, Mint)
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
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)
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:
Regards Rainer (who calls himself after installing Linux and PB for Linux "SUDO-kan Rainer")
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:
I installed "anyway" a PureBasic Version and this is working too, not sure if everything is ok.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
But now I have the next problem which I will describe in the "I hope" right thread.Version 5.70 LTS (Linux - X86)
I have tried all other versions without any success)
Regards Rainer (who calls himself after installing Linux and PB for Linux "SUDO-kan Rainer")
Re: Simple install of PureBasic (Ubuntu, Mint)
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.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.My fixed IDE can work with pb v5.70michael@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)
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
Thanks
Robin
Re: Simple install of PureBasic (Ubuntu, Mint)
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:
but i don't understand this:
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".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
Re: Simple install of PureBasic (Ubuntu, Mint)
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
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
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Enthusiast
- Posts: 115
- Joined: Sat Sep 21, 2019 4:24 pm
Re: Simple install of PureBasic (Ubuntu, Mint)
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
You can check my games at:
https://ricardo-sdl.itch.io/
https://ricardo-sdl.itch.io/
Re: Simple install of PureBasic (Ubuntu, Mint)
Thank you mk-soft
It works also on ZORIN OS V15.3
It works also on ZORIN OS V15.3
Re: Simple install of PureBasic (Ubuntu, Mint)
Update
- Added: Install packets for games
- Added: How to install zlib-1.2.9 for older Linux and Mint version
- Added: Install packets for games
- Added: How to install zlib-1.2.9 for older Linux and Mint version
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Simple install of PureBasic (Ubuntu, Mint)
Update descriptions
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)
Update Descriptions
- Works fine with Raspberry PI Desktop
- Works fine with Raspberry PI Desktop
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)
@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)
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.
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)
Just installed on Ubuntu 22.04 - followed the steps outlined by OP, and it is working fine!
-
- Enthusiast
- Posts: 271
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: Simple install of PureBasic (Ubuntu, Mint, Raspberry)
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