Use apt-get to intall pspp . This should be all that you need to get it running.
To run PSPP code in a shell script, according to PSPP's documentation, write pspp [filename] , where filename  is your script.

Did this answer your question?