Linux

Linux specific forum
Blades
New User
New User
Posts: 4
Joined: Mon Dec 17, 2018 3:45 pm

Linux

Post by Blades »

PureBasic on Linux
I have used purebbasic for windows since 2007 for some complex programs ,but I am not a skilled computer user. I bought a new machine with ubuntu MAKE installed on it. I got purebasic installed and the IDE working. I can get my old programs loaded but they will not run. I can write simple progams but I can get output only thru DEBUG. I went thru the process in purebasic/checkinstal.sh. It indicated that everything is in order. I went to “terminal” and found that most of the required packages had not been installed and I was unable to find them on ubuntu MAKE.
Is there a desktop distribution that I can change to,which will have the necessary packages? Would ubuntu with no derivative like MAKE be a good choice? Is there a source of packages outside linux distributions?
Herbert Blades
User avatar
mk-soft
Always Here
Always Here
Posts: 5333
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Linux

Post by mk-soft »

I like to use Linux Ubuntu 18.04 (Gnome) and now also slowly Ubuntu 18.10 (Gnome)
Interesting is also Linux Ubuntu 18.x (Budgie) version.

To use a Purebasic I simply copy the PB folder into a new folder "Apps" under "Personal Folder" and put a shortcut on my desktop.
I also renamed the folder "purebasic" to "purebasic-v5xx" so that I can install different versions.

I use the following installation under Ubuntu.
Purebasic
---------
sudo apt-get install build-essential gcc g++

sudo apt-get install libxxf86vm-dev libxine2-dev unixodbc-dev libsdl1.2-dev libsdl2-dev

sudo apt-get install libgtk2.0-dev libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev


Subsystem qt
------------
sudo apt-get install qtbase5-dev qttools5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5svg5-dev libqt5webkit5-dev libqt5multimedia5-plugins


Ubuntu Gnome 18.xx (For PB-IDE)
-------------------------------
sudo apt install libcanberra-gtk-module

Obsoleted
---------
;sudo apt-get install libgnome2-dev
;sudo apt-get install libgnomeprintui2.2-dev libxine-dev


Ubuntu missing default libs (Without developer packets)
-------------------------------------------------------
gtk2
- sudo apt-get install libgtk2.0
gtk3
- sudo apt-get install libwebkitgtk-3.0
If you compile the programs with PB version 5.6x under Ubuntu, you have to use a small import in the code first.

Code: Select all

ImportC "-no-pie" : EndImport
Otherwise only one application comes out as sharedlib.

Translated with www.DeepL.com/Translator
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
ccode
User
User
Posts: 99
Joined: Sat Jun 23, 2018 5:21 pm

Re: Linux

Post by ccode »

What is "Ubuntu MAKE"?

Do you mean "Ubuntu MATE"?

Personally, I can recommend a Debian-based Linux distribution.
For example, I like Linux Mint very much.
The choice of the desktop should play a crucial role under Linux.
Recommendation:
Under "Manjaro Linux" Purebasic should already run without much additional installation.
From the stability I would advise against KDE as a desktop.
However, if KDE is very fluid and stable, it is also a good choice.

In total:
Linux can be very confusing for a beginner.

Can you not install Windows on your computer, if Windows was your previous operating system?
Post Reply