# What i want

install LaTeX for Linux on Mint 14 OS

# What i did

download LaTex from http://www.tug.org/texlive/acquire-netinstall.html

i installed this package: install-tl.zip

successfully installed it via terminal

# Problem

Where is LaTeX on my laptop? i can't find it.

-

## migrated from stackoverflow.comMay 10 '13 at 15:08

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner May 10 '13 at 15:16
Have a look at Verify a latex installation: Commandline/Terminal: –  texenthusiast May 10 '13 at 18:33
TeXlive should have asked you where to install; anyway, a log is usually kept in the same dir where the `install-tl` script was: it's usually called `install-tl.log` and informs the base directories of your installation (they must be added to your `PATH` later). AFAIK TeXlive usually defaults them to `/usr/share/`. –  henrique May 10 '13 at 19:36
@henrique The vanilla TeX Live installer puts everything in `/usr/local/texlive/<year>`. Only package manager provided TeX distributions (such as for Debian or Fedora) put files in `/usr/share`. –  egreg May 10 '13 at 21:14
@egreg is absolutely right. The OP should check this answer –  henrique May 10 '13 at 22:34

## 2 Answers

First of all, you cannot see LaTeX like other fancy applications. In other words LaTeX installation does not include GUI.

If LaTeX is installed successfully, then you can simply call it from your terminal. To check if it is really installed, type this in the terminal:

``````\$ latex -v
``````

This should output the version information of installed LaTeX.

If that is successful, then the simplest way to typeset is

``````\$ latex path/to/file-to-typeset.tex
``````

This should generate `file-to-typeset.dvi` in the same directory in which .tex file exists.

Some text editors can call latex command inside (e.g. Emacs) so that you don't have to switch back and forth from the text editor to the terminal.

-
`latex small2e` should create `small2e.dvi` in any directory where the user has write access. (Or `pdflatex small2e` to get `small2e.pdf`.) –  jon May 10 '13 at 21:39

To locate binaries open the shell and type

``````\$ whence latex
``````
-
What is this command? Do you mean `which latex`? –  jon May 11 '13 at 4:40
It is not "which"! The Unix command for finding binaries is "whence". The was no spelling mistake so I do not see where you read "which"? –  Predrag Punosevac May 11 '13 at 12:31
`whence` is actually a shell command (`ksh`), so it doesn't work for example on my Unix system with `bash`. `which` does work, since it's independent of the shell. It cannot find shell commands, in contrast to `whence`, but this doesn't matter here. (just commenting, I did not vote here) –  Stefan Kottwitz May 11 '13 at 13:41
@Stefan Kottwitz Point well taken! I use Korn shell so I am not familiar with bash. As a matter of fact the first thing that I do on MAC and Linux is switching the shell to Korn. –  Predrag Punosevac May 11 '13 at 13:55
@PredragPunosevac: `man 1 which` –  Martin Schröder May 11 '13 at 14:32