In Xournal++ I want to use Tools
-> Add/Edit Tex
But I get
Could not find kpsewhich in PATH; please install kpsewhich and put it on path.
I checked, it is installed
$ whereis kpsewhich
kpsewhich: /usr/bin/kpsewhich /usr/share/man/man1/kpsewhich.1.gz
But on
$ PATH=$PATH:/usr/bin/kpsewhich:/usr/share/man/man1/kpsewhich.1.gz
$ xournalpp
I still get the error message above.
UPDATES:
I checked echo $PATH
and /usr/bin
is already on the path.
I was having the same issue as you. I was using the snap package of xournalpp.
First remove the snap package.
sudo snap remove xournalpp
After removing that package and installing it from the bleeding edge PPA repository, latex worked just fine.
If you want to stick to the latest stable version, you can instead use the stable releases PPA.