Thanks for the guide! I'm a completely newbie with Linux. Yesterday I installed Ubuntu Linux 5.10, that works nice. But now I'm trying to install purebasic. I did follow your guide, but cant get it working.dracflamloc wrote:Quick guide for installing pb on ubuntu. I'll flesh it out tommorow:
Go into synaptic packager or use apt-get install (Menu->System->Add/Remove Programs)
Install with all thier dependancies:
libgtk2-dev
libgtk-dev
libsdl-dev
gcc (if not already installed)
Now download and extract Purebasic for linux into your home directory (~ or /home/<username>)
Browse to your home directory. Create a file called purebasic.sh
Open this file with gedit or kwrite,etc.
Add the following lines:Save the file and right click it to view properties. Make it executable. Voila you are done!Code: Select all
#!/bin/bash export PUREBASIC_HOME=~/purebasic export PATH=$PUREBASIC_HOME/compilers:$PATH ~/purebasic/compilers/purebasic_gtk2
This is what I did:
- Open Synaptic Packager (menu -> system -> Administration -> Synaptic Package Manager)
- Installed all packages with names starting with: libgtk*, libsdl*, gcc-4.0*
- Downloaded purebasic for linux. Unzipped it to the folder Home.
- Created the file purebasic.sh with the 4 lines of code you provided, and marked the property "executable" for this file.
(so when I open the folder home (/home/jos) I see the folders "Desktop", "purebasic", and the file "purebasic.sh")
But when I double click "purebasic.sh" and choose "run" nothing happens.
Any Idea what the problem is?
Jos