I want to know if I have a package installed. Like it says here I write:
root@linux:~# kpsewhich koma-script
but nothing happens.
This is an answer to the question rather than the problem (which has been identified in comments).
To check the installation status of a package and to get additional information about it, execute the following as yourself. (Certainly no need for root privileges here.)
$ tlmgr info koma-script
On my system, this gives:
package: koma-script
category: TLCore
shortdesc: A bundle of versatile classes and packages
longdesc: The KOMA-Script bundle provides replacements for the article, report, and book classes with emphasis on typography and versatility. There is also a letter class. The bundle also offers: a package for calculating type areas in the way laid down by the typographer Jan Tschichold, a package for easily changing and defining page styles, a package scrdate for getting not only the current date but also the name of the day, and a package scrtime for getting the current time. All these packages may be used not only with KOMA-Script classes but also with the standard classes. Since every package has its own version number, the version number quoted only refers to the version of scrbook, scrreprt, scrartcl, scrlttr2 and typearea (which are the main parts of the bundle).
installed: Yes
revision: 36095
sizes: run: 18785k
relocatable: No
cat-version: 3.15
cat-date: 2015-01-18 21:13:21 +0100
cat-license: lppl1.3
collection: collection-latexrecommended
kpsewhich searches for files not package names. Because the koma-script package/bundle doesn't contain a file called koma-script, kpsewhich koma-script will return nothing because there's nothing to return...
– Paul Gessler
Feb 14 '15 at 22:49
kpsewhichis for finding files, not package names, so you'd have to dokpsewhich scrbook.clsor similar. Or usetlmgr info koma-scriptand inspect the output. (It has an "installed" field.) – Paul Gessler Feb 14 '15 at 22:13/usr/local/texlive/2014/texmf-dist/tex/latex/koma-script/scrbook.cls– Feb 14 '15 at 22:15tlmgr install koma-script. Anyway, if you did want to install manually, it has to be placed in a location searched by TeX to be found. And please rename it to avoid licensing problems and conflicts with officially-distributed packages. Please see Where do I place my own.styor.clsfiles, to make them available to all my.texfiles? – Paul Gessler Feb 14 '15 at 22:20scrbookis not enough, it loads quite a bunch of helper files/packages. – Johannes_B Feb 15 '15 at 11:05