calling pdflatex from command line

Clash 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?
upgrade latex
add a comment |Â
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?
upgrade latex
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 withsudo apt install texliveorsudo 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
add a comment |Â
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?
upgrade latex
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?
upgrade latex
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 withsudo apt install texliveorsudo 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
add a comment |Â
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 withsudo apt install texliveorsudo 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 texliveorsudo 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