Please install kpsewhich and put it on path - error using LATEX with Xournalpp snap

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.

1

1 Answer

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.

sudo add-apt-repository ppa:andreasbutti/xournalpp-master
sudo apt update
sudo apt install xournalpp

If you want to stick to the latest stable version, you can instead use the stable releases PPA.

sudo add-apt-repository ppa:apandada1/xournalpp-stable
sudo apt update
sudo apt install xournalpp

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like