I´m relatively new to Linux, using Ubuntu 17.04, and are starting to use the commandline. For a few cases I would like to compile my .TeX-documents from the commandline, as to enable certain options (such as
--shell-escape) without having to tinker with my editor.
I have installed TeXLive 2017 with the instructions on the TeXLive-page, and not from the Ubuntu repositories, so that I received the newest version.
When using the command
I get the error message that I must first install
pdflatex by installing some sort of package of TeXLive from the Ubuntu-repositories via
sudo apt-get install. I don´t want to do that, as this is currently only TeXLive 2016.
My question is thus:
How can I make the commandline-interpreter understand it should always use the
pdflatex which has been installed via TeXLive 2017 (which is in the file usr/local/texlive/2017/bin/x86_64-linux on my computer)?