LaTeX forum ⇒ Othersalgorithm | Package not found Topic is solved

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

algorithm | Package not found

Postby swagatopablo » Mon Aug 06, 2012 5:53 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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8736
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Mon Aug 06, 2012 11:49 am


if you installed TeX from the Ubuntu repositories, install also the package texlive-science, such as by
  1. 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.

Site admin

Return to “Others”

Who is online

Users browsing this forum: No registered users and 1 guest