View Full Version : latex installation problem
phoenix7
June 25th, 2007, 09:56 AM
I've tried to install latex by running the following:
apt-get install latex
but it cannot find the latex, how can I fix it?
Reading package lists... Done
Building dependency tree
Reading state information... 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
pvdg
June 25th, 2007, 06:25 PM
There are currently two families of latex packages in ubuntu. The first, in the main repository, is tetex:
apt-get install tetex-base tetex-bin tetex-extra
The tetex-extra package is optional, but if you don't have a disk space problem, install the full set.
If you want to install the documentation, just install this package also:
apt-get install tetex-doc
As an alternative (they are incompatible with tetex), you might want to install the texlive packages, which are available in the universe repository. Make sure you have it enabled in your sources.list and then:
apt-get install texlive
or, if you want the full set (around 600MB):
apt-get install texlive-full.
Texlive has already replaced tetex in Debian, and the same will probably happen in ubuntu (perhaps in Gutsy). I have no experience with the texlive packages. I have been able to do all I need with tetex, but I'm planning to switch some time soon.
phoenix7
June 27th, 2007, 08:51 AM
Thanks pvdg!
pvdg
June 27th, 2007, 07:29 PM
You're welcome!
gcordoba
December 5th, 2007, 04:56 PM
Very good. However, why do synaptic cannot find latex? I have all the repositories enabled.
gcordoba
December 5th, 2007, 05:00 PM
Actually I installed Gutsy in an other PC and the tip didnt work for me:
gcordoba@pc-pflow2:~$ sudo apt-get install texlive-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package texlive-full
gcordoba@pc-pflow2:~$
This sounds to me that the repositories are not working properly, despite sympatetic confirm that all of them are enabled.
Any idea?
pvdg
December 5th, 2007, 08:13 PM
Please confirm that you have the universe repository enabled in that other PC. The package should be there: http://packages.ubuntu.com/gutsy/tex/texlive-full
gcordoba
December 6th, 2007, 10:38 AM
Thanks pvdg,
A fixed tha problem. It was due to I forgot to click "reload" after choosing the server.
I found some interesting tips about the repositories in:
http://www.psychocats.net/ubuntu/sources
Thanks again.
Gustavo
Whiffle
December 6th, 2007, 10:40 AM
Don't forget to give kile a shot if you havn't already :) http://kile.sourceforge.net/
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.