Run latex in Ubuntu and error ! LaTeX Error: File `tcolorbox.sty' not found.

3,028 views
Skip to first unread message

dave poreh

unread,
Jan 10, 2018, 8:31:31 AM1/10/18
to LaTeX Users Group
Hi Folks, 
I have a book in windows 7 it is running very good, but in linux, I am getting this error:
...

! LaTeX Error: File `tcolorbox.sty' not found.

Type X to quit or <RETURN> to proceed,

or enter new name. (Default extension: sty)

Enter file name:

! Emergency stop.

...


Can someone give me a tips pls?

Cheers, 

Dave

Peter Flynn

unread,
Jan 10, 2018, 8:47:52 AM1/10/18
to latexusersgroup
So install it. Obviously it was included by default in whatever distribution you used under Windows, but in Linux, you may have installed the short version of TeX instead of texlive-full.
  1. Download the zip file from https://ctan.org/pkg/tcolorbox (use the link where it says "Download the contents...").
  2. Create your Personal TeX Directory: in a Terminal window, type mkdir -p ~/texmf/tex/latex
  3. Unzip the file into that directory (it will create a tcolorbox subdirectory).

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latexusersgroup+unsubscribe@googlegroups.com.
To post to this group, send email to latexusersgroup@googlegroups.com.
Visit this group at https://groups.google.com/group/latexusersgroup.
For more options, visit https://groups.google.com/d/optout.

Peter Flynn

unread,
Jan 10, 2018, 8:54:50 AM1/10/18
to latexusersgroup
BTW when using a personal TeX directory like this on GNU/Linux systems (including Apple Mac OS X), do not run texhash or mktexlsr because TeX will find stuff in there automatically before looking anywhere else.

If you use C:\texmf on Windows as your personal TeX directory, and you are running MiKTeX, you must add that folder name to the MiKTeX filename database (FNDB) configuration, and then run FNDB Update each time you add a package, font, etc., otherwise TeX will not find your new stuff.

dave poreh

unread,
Jan 10, 2018, 9:09:25 AM1/10/18
to LaTeX Users Group
Thanks, 
This time is giving another error:
...

! LaTeX Error: File `xparse.sty' not found.

Type X to quit or <RETURN> to proceed,

or enter new name. (Default extension: sty)

...



is there a way to install everything in BULK?

Cheers, 

Dave

Peter Flynn

unread,
Jan 10, 2018, 10:38:14 AM1/10/18
to latexusersgroup
Yes the normal way is to install the texlive-full package through your Linux system installer

P

--
Reply all
Reply to author
Forward
0 new messages