From your answer to my comment, it seems you're unaware that Swell Foop can be installed directly from the repos. Of course trying the installation as a regular user will fail. To install as root, follow these steps:
[user@host]$ su
Password:
[root@host]# apt-get install swell-foop
This of course assumes you have root access. If you haven't enabled the root account during installation, do this instead:
[user@host]$ sudo apt-get install swell-foop
[sudo] password for user:
Note that in this second case, you should use your regular user password.