algorithm.sty not found error in LaTeX

If you use the algorithm package in your LaTeX document, you might get this error on compiling it:

LaTeX Error: File `algorithm.sty' not found.

On Ubuntu, this LaTeX package is bundled in the texlive-science package. Install this package and the error should be gone:

$ sudo apt-get install texlive-science

Tried with: Ubuntu 14.04

6 thoughts on “algorithm.sty not found error in LaTeX

Leave a Reply to Agus Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.