Having failed to get Space Invaders running on Windows, it was one of the first things I tried to do on my RPi. It complains about not having Term::ReadKey. But issuing the command cpan Term::ReadKey gives errors that seem to be YAML related. Trying to install YAML gives a lot of output, but the end of it is almost identical to the end of ReakKey's installation process. The following transcription may contain typos:
CPAN.pm: going to build I/IN/INGY/YAML-0.81.tar.gz Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] Warning (usually harmless): 'YAML' not installed, will not store persi +stent state INGY/YAML-0.81.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read '/home/pi/.cpan/build/YAML-0.81-AQE1XZ/META.yml'. Falli +ng back to other methods to determine prerequisites
The debian OS comes with Perl 5.10.1, and trying to update it states that this is the latest version. I find this surprising, but since I don't generally use leading edge features, I'm not terribly worried unless it's masking something more important.
Generally I don't use Linux as my work usually involves Excel, so I expect that there are lots of standard tricks that I should know but don't. Any pointers would be gratefully received.
Update: Thank you all. Moritz's solution worked perfectly (as always), but I still don't have Space Invaders working, as it uses $* which is no longer supported. I certainly don't know enough Perl to try to repair an obfu with bitrot. Thanks, too, to those who pointed out the Debian related issues. As I don't know Linux, I'm a bit overwhelmed, but since the Pi is a learning tool and I have the OS download on my network, it isn't the end of the world if I break it. I can easily rewrite the SD card.
In reply to Raspberry Pi: some sort of dependency hell involving YAML by davies