Ghost Script

Hi, I’m a newbie and I have a Moodle site with Dreamhost and want to run a new assignment type. It requires my server to have ghostscript installed.
It says to install ghostscript from your distribution repository and I have no idea what that means.
Could someone please point me in the right direction.
Thanks in advance.