Cannt run pdflatex in texstudio

88 Views Asked by At

If i run in terminal sudo pdflatex file.tex it works and compiles but not if i dont add sudo nor use texstudio?

I tryed to add pdflatex to my $PATH:

PATH=$PATH:/usr/bin/pdflatex
export PATH

but it didnt help.

$ sudo which pdflatex
/usr/bin/pdflatex
0

There are 0 best solutions below