Othersalgorithm | Package not found

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

algorithm | Package not found

Post by swagatopablo »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

algorithm | Package not found

Post by Stefan Kottwitz »

Hi,

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

Code: Select all

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
LaTeX.org admin
Post Reply