Latex is a very useful language used to create scientific documents, it can be used to write any kind of document and it exists even before the famous PDF format. It was not so popular because it is open source.
apt-get install texlive texlive-math-extra texlive-science
This command provides program.sty:
apt-get install texlive-latex-extra