GPU mining certainly is NOT profitable, can be an interesting experiment though, e.g. when you employ PCI-E passtrough to make use of the GPU in a virtual machine because you don't want to poison your system with the Catalyst drivers (done with Slackware64 14.0 and qemu).
A 5$ second hand USB Block Erupter might be a more sensible option if you want to study how bfgminer, p2pool and bitcoind work together, without getting ruined by the energy bill. Don't expect any profits, either.
To get back to the topic: it's easy to build and run bfgminer, cgminer or diablominer on Slackware. How well it works depends very much on the type of hardware you're using. In either case, bitcoin is no magic money making machine - calculate carefully! Getting it all up and running can be fun, though, even if it's not profitable.