Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

I've installed in Debian Jessie, the latest version of TeXLive. After this, cadabra2 stoped working. I tracked down the problem and it seems that it is because cadabra2 does not find the right path to the TeXLive folder.

How can I customise the path to he TeXLive folder when compiling the source?

Thank you for your help!

in Installation trouble by (14.3k points)

1 Answer

+1 vote
Best answer

Did you install TeXLive from a Debian package or directly from the files at tug.org? I suspect the latter? And did you build cadabra from source or did you install the binary package?

Things should work if you first install TeXLive and then build cadabra from source. During the 'cmake ..' stage, you should see a line like

-- Installing LaTeX style files in /usr/local/share/texmf/tex/latex/cadabra2

What does it say there for you?

The pre-built binary .deb packages install the cadabra style sheets in


(because that is where the TeXLive from the Debian repositories expects style files to be). If your new TeXLive does not look there, you need to build from source or set the TEXINPUTS environment variable before running cadabra2-gtk, e.g.

export TEXINPUTS=/some/other/directory/:

Let me know if this helps.

by (82.0k points)
selected by