Ubuntu – convert ps to pdf

format conversionpdf

How do I convert *.ps file to a .pdf file? I tried several links given by google search, but either solution is really old and does not work for latest versions of ps and pdf files, or they do not make sense to me. Is there a simple utility to convert .ps file to .pdf file.

Best Answer

For a command-line solution: install the 'ghostscript' package:

sudo apt-get install ghostscript

and use the ps2pdf utility:

ps2pdf myfile.ps myfile.pdf