Find below code that'll install all the required dependencies for PureBasic for use on a Linux machine. I use virtual machines quite alot, and rather than having to spend an unjust amount of time searching for dependency packages each time I create a linux vm in which I will be using PureBasic, I found it easier just to write this bash script:
pb-dependencies.sh
Code: Select all
sudo apt-get install gcc -y
sudo apt-get install libgtk2.0-dev -y
sudo apt-get install libsdl1.2-dev -y
sudo apt-get install libstdc++6 -y
sudo apt-get install libiodbc2 -y
sudo apt-get install libiodbc2-dev -y
sudo apt-get install libxine1 -y
sudo apt-get install libxine-dev -y
sudo apt-get install libgnomeprintui2.2-0 -y
sudo apt-get install libgnomeprintui2.2-dev -y
sudo apt-get install gtk2-engines-pixbuf -y
sudo apt-get install libXxf86vm-dev -y- Create a new document on your Linux desktop called "pb-dependencies.sh", copy the contents of the code above into the document, and ensure the file has execution privileges.
(File Properties/Permissions/'Allow executing file as program') - Execute the file by double-clicking on it.
- Enter your password to enable Super-User when requested.
- Acknowledge and answer prompts if they present themselves.
- Added '-y' parameter to apt-get calls (as suggested by Ramihyn_) to add a bit more automation.
- Added installation for 'libXxf86vm-dev' for developing 3D applications. (Using opengl subsystem.)
Disclaimer: I'm in no way a linux-savvy guy so I'm guessing there is a simpler, more efficient way of achieving this, but this is the method I have adopted, and it works for me
Thanks


