The package is included by the! LaTeX Error: File `algorithm.sty' not found.
\usepackage
command. I was under the impression that all the necessary style files are included automatically whenever I install Kile (so it happened when I used Kile in KDE on Windows). But I can't do the same on Ubuntu. Please help me on how to get the algorithm package.