calling pdflatex from command line

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I just updated to Ubuntu 18.04 LTS and installed Latex according to here. I added



export PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH 
export INFOPATH=$INFOPATH:/usr/local/texlive/2017/texmf-dist/doc/info
export MANPATH=$MANPATH:/usr/local/texlive/2017/texmf-dist/doc/man


but when I want to compile a document (i.e. test.tex) calling pdflatex nothing happened. If I added the complete path /usr/local/texlive/2017/bin/x86_64-linux, then I could call pdflatex and compile test.tex. I checked /usr/bin and pdflatex, xelatex is listed there, but not available as a command.



Further research led me to here and I though I'd need to install texlive-extra-utils in order to directly call pdflatex. Now I can do this, but when I want to compile test.tex I get lots of errors about missing packages.



So what I assume happened is, that I installed the complete texlive package via the instructions, but somehow adding the path variables didn't work. With the second method, I just installed the ability to call pdflatex in the command line, but it "doesn't know" that I have a complete texlive installation in /usr/local.



How could I resolve this issue?







share|improve this question



















  • If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
    – nobody
    Jun 3 at 16:52










  • Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
    – fukurai
    Jun 3 at 18:11














up vote
1
down vote

favorite












I just updated to Ubuntu 18.04 LTS and installed Latex according to here. I added



export PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH 
export INFOPATH=$INFOPATH:/usr/local/texlive/2017/texmf-dist/doc/info
export MANPATH=$MANPATH:/usr/local/texlive/2017/texmf-dist/doc/man


but when I want to compile a document (i.e. test.tex) calling pdflatex nothing happened. If I added the complete path /usr/local/texlive/2017/bin/x86_64-linux, then I could call pdflatex and compile test.tex. I checked /usr/bin and pdflatex, xelatex is listed there, but not available as a command.



Further research led me to here and I though I'd need to install texlive-extra-utils in order to directly call pdflatex. Now I can do this, but when I want to compile test.tex I get lots of errors about missing packages.



So what I assume happened is, that I installed the complete texlive package via the instructions, but somehow adding the path variables didn't work. With the second method, I just installed the ability to call pdflatex in the command line, but it "doesn't know" that I have a complete texlive installation in /usr/local.



How could I resolve this issue?







share|improve this question



















  • If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
    – nobody
    Jun 3 at 16:52










  • Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
    – fukurai
    Jun 3 at 18:11












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I just updated to Ubuntu 18.04 LTS and installed Latex according to here. I added



export PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH 
export INFOPATH=$INFOPATH:/usr/local/texlive/2017/texmf-dist/doc/info
export MANPATH=$MANPATH:/usr/local/texlive/2017/texmf-dist/doc/man


but when I want to compile a document (i.e. test.tex) calling pdflatex nothing happened. If I added the complete path /usr/local/texlive/2017/bin/x86_64-linux, then I could call pdflatex and compile test.tex. I checked /usr/bin and pdflatex, xelatex is listed there, but not available as a command.



Further research led me to here and I though I'd need to install texlive-extra-utils in order to directly call pdflatex. Now I can do this, but when I want to compile test.tex I get lots of errors about missing packages.



So what I assume happened is, that I installed the complete texlive package via the instructions, but somehow adding the path variables didn't work. With the second method, I just installed the ability to call pdflatex in the command line, but it "doesn't know" that I have a complete texlive installation in /usr/local.



How could I resolve this issue?







share|improve this question











I just updated to Ubuntu 18.04 LTS and installed Latex according to here. I added



export PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH 
export INFOPATH=$INFOPATH:/usr/local/texlive/2017/texmf-dist/doc/info
export MANPATH=$MANPATH:/usr/local/texlive/2017/texmf-dist/doc/man


but when I want to compile a document (i.e. test.tex) calling pdflatex nothing happened. If I added the complete path /usr/local/texlive/2017/bin/x86_64-linux, then I could call pdflatex and compile test.tex. I checked /usr/bin and pdflatex, xelatex is listed there, but not available as a command.



Further research led me to here and I though I'd need to install texlive-extra-utils in order to directly call pdflatex. Now I can do this, but when I want to compile test.tex I get lots of errors about missing packages.



So what I assume happened is, that I installed the complete texlive package via the instructions, but somehow adding the path variables didn't work. With the second method, I just installed the ability to call pdflatex in the command line, but it "doesn't know" that I have a complete texlive installation in /usr/local.



How could I resolve this issue?









share|improve this question










share|improve this question




share|improve this question









asked Jun 3 at 16:15









fukurai

1815




1815











  • If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
    – nobody
    Jun 3 at 16:52










  • Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
    – fukurai
    Jun 3 at 18:11
















  • If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
    – nobody
    Jun 3 at 16:52










  • Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
    – fukurai
    Jun 3 at 18:11















If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
– nobody
Jun 3 at 16:52




If you need the latest texlive, the first procedure you have followed is the right one. However, the second installation procedure installs some older texlive. You now have two parts of different versions. If you do not need the latest texlive, I would suggest to install it with sudo apt install texlive or sudo apt install texlive-full. You can just install it and it should work. If not you may have to find a way to remove the latest version installed manually. Uninstalling non working version would probably be a sensible decision anyway.
– nobody
Jun 3 at 16:52












Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
– fukurai
Jun 3 at 18:11




Great, thanks. I assumed something like this happened. I checked the versions and it's only a year difference, so I'll go with the second route you mentioned and have apt install everything.
– fukurai
Jun 3 at 18:11















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043239%2fcalling-pdflatex-from-command-line%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043239%2fcalling-pdflatex-from-command-line%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?