How-To: Ubuntu/Kubuntu 5.04

Miscellaneous Forums/Linux Discussion/How-To: Ubuntu/Kubuntu 5.04

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've recently installed a bog standard Ubuntu 5.04/Hoary Hedgehog and got BlitzMax running. This How-To should work for Kubuntu equally well, as it's the same base as Ubuntu.

First step obviously is to install Ubuntu or Kubuntu. Once you're in the desktop, go to System->Administration->Synaptic Package Manager or under Kubuntu, System->Administration->Package Manager (Kynaptic).

Enter your user password you set up in the installation.

Click on the Mark All Upgrades and select either Smart Upgrade or Default Upgrade. Click Apply to start downloading the upgrades. This should ensure you have the latest releases.

Download BlitzMax 1.09 and the 1.10 update. Extract 1.09 to somewhere in your home folder, and then Extract 1.10 over the top of it.

To get BlitzMax to compile and run you'll need the following packages:

gcc
g++
xlibs-dev
xlibmesa-gl-dev
xlibmesa-glu-dev
libxxf86vm-dev

You can locate them through Synaptic or the more experienced among you can "sudo apt-get install" them. There will be several other packages installed with these as dependencies. This is good.

Once these packages are installed you can run BlitzMax and Build Modules/Rebuild All Modules. They should all build perfectly. You will be able to compile and run the demos, albeit slowly. To run things at real speeds, you'll need to download proper graphics drivers. Fortunately you can easily download these again through Synaptic/Kynaptic, or apt-get.

For NVidia users:

nvidia-glx
nvidia-glx-dev
nvidia-settings (optional)

For ATI users:

xorg-driver-fglrx
xorg-driver-fglrx-dev
fglrx-control (optional)

If you're an NVidia user, you'll also need to open a terminal after the packages have installed, and type the following:

sudo nvidia-glx-config enable

From here you should be able restart from KDE or Gnome, and once the system reloads, the new drivers will be running, and OpenGL will be accelerated.

(For the lazy amongst you, log out, hit ctrl-alt-backspace, and the X-Server will reload with the new drivers without you needing to reboot.)

Someone running Kubuntu could you please confirm the specifics for finding Kynaptic, etc.