Installing LaTeX on Ubuntu
Thursday, July 12th, 2007I guess LaTeX isn’t included with Ubuntu, at least not for Dapper. I was kind of dissapointed to see:
chiefinnovator@blackpearl:~/$ latex
bash: latex: command not found
So I tried to install it:
chiefinnovator@blackpearl:~/$ sudo apt-get install latex
Password:
Reading package lists... Done
Building dependency tree... Done
Package latex is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
tetex-extra tetex-base
E: Package latex has no installation candidate
But that didn’t work either. At this point I should have read the end of that error message instead of searching since it does say the answer. Instead I found this helpful Ubuntu Wiki page saying the same thing but in more friendly detail.
So the answer is:
chiefinnovator@blackpearl:~/$ sudo apt-get install tetex-base tetex-bin
