According to my ubuntu 11.04 my texlive is the latest version. But when I tried to \usepackage{algorithm}
it says file algorithm.sty is not found. I read the algorithm.pdf manual and tried latex algorithms.ins in terminal and again it says file not found. So what is the problem here? I installed texlive using sudo apt-get install texlive
but it seems to be missing some packages that were suppose to be included. How do I fix this?
[Tex/LaTex] How to install the algorithms package
algorithmsinstalling
Related Question
- [Tex/LaTex] Installing the fourier package to TeXLive 2012/Debian Ubuntu 12.04 LTS
- [Tex/LaTex] How should I install the fullpage package under Ubuntu
- [Tex/LaTex] TeX Live Manager Update setup on Linux
- [Tex/LaTex] Change package search paths
- [Tex/LaTex] Algorithm.sty not found (TexMaker)
- [Tex/LaTex] How to make standalone package available by the LaTeX installation
- [Tex/LaTex] Local TeX Live (2020) is older than remote repository (2021)
Best Answer
sudo apt-get install texlive
does not install all packages from CTAN.sudo apt-get install texlive-full
does that (well, it installs everything that was on CTAN when the package was created).If you do not want to install everything, you can just install
texlive-science
which contains the various algorithm-related packages.On Arch the equivalent meta package is
texlive-most
.