## LaTeX forum ⇒ Others ⇒ algorithm | Package not found Topic is solved

Information and discussion about other tools not listed above.
swagatopablo
Posts: 16
Joined: Sun Mar 25, 2012 10:57 am

I am using Kile version 2.1.0 on Ubunutu 12.04 (Precise Pangolin). Whenever I am trying to compile a script, it says there is an error.
! LaTeX Error: File `algorithm.sty' not found.

The package is included by the `\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.

Stefan Kottwitz
Posts: 8601
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi,

if you installed TeX from the Ubuntu repositories, install also the package `texlive-science`, such as by
`sudo apt-get install texlive-science`

at the command prompt, or do it via the software center or Synaptic.

If you installed the real TeX Live, use the TeX Live Manager aka tlmgr to install the algorithms package.

Stefan