LaTeX cannot find installed packages
up vote
0
down vote
favorite
It seems that I have two installations of TeXlive, one of which is more updated.
When I run latex, it seems to search packages inside the old installation. How can I direct latex to look for the updated installation?
All my packages in the new installation (such as tcolorbox) are listed as directories in the directory /usr/local/texlive/2015/texmf-dist/tex/latex/.
The old installation lists the package files in /usr/share/texlive/texmf-dist/tex/latex/.
Also, the command which latex gives /usr/bin/latex.
installing
|
show 13 more comments
up vote
0
down vote
favorite
It seems that I have two installations of TeXlive, one of which is more updated.
When I run latex, it seems to search packages inside the old installation. How can I direct latex to look for the updated installation?
All my packages in the new installation (such as tcolorbox) are listed as directories in the directory /usr/local/texlive/2015/texmf-dist/tex/latex/.
The old installation lists the package files in /usr/share/texlive/texmf-dist/tex/latex/.
Also, the command which latex gives /usr/bin/latex.
installing
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
1
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
1
Do not usesudo gedit ~/.profile! You should not needsudoto edit a file in your home directory.
– jon
Jul 3 '15 at 17:48
1
No: The$PATHvariable is so your system can find the commandslatexand so forth, not find the packages.
– jon
Jul 3 '15 at 18:34
|
show 13 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
It seems that I have two installations of TeXlive, one of which is more updated.
When I run latex, it seems to search packages inside the old installation. How can I direct latex to look for the updated installation?
All my packages in the new installation (such as tcolorbox) are listed as directories in the directory /usr/local/texlive/2015/texmf-dist/tex/latex/.
The old installation lists the package files in /usr/share/texlive/texmf-dist/tex/latex/.
Also, the command which latex gives /usr/bin/latex.
installing
It seems that I have two installations of TeXlive, one of which is more updated.
When I run latex, it seems to search packages inside the old installation. How can I direct latex to look for the updated installation?
All my packages in the new installation (such as tcolorbox) are listed as directories in the directory /usr/local/texlive/2015/texmf-dist/tex/latex/.
The old installation lists the package files in /usr/share/texlive/texmf-dist/tex/latex/.
Also, the command which latex gives /usr/bin/latex.
installing
installing
edited Jul 3 '15 at 18:57
asked Jul 3 '15 at 16:21
usr203050
16310
16310
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
1
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
1
Do not usesudo gedit ~/.profile! You should not needsudoto edit a file in your home directory.
– jon
Jul 3 '15 at 17:48
1
No: The$PATHvariable is so your system can find the commandslatexand so forth, not find the packages.
– jon
Jul 3 '15 at 18:34
|
show 13 more comments
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
1
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
1
Do not usesudo gedit ~/.profile! You should not needsudoto edit a file in your home directory.
– jon
Jul 3 '15 at 17:48
1
No: The$PATHvariable is so your system can find the commandslatexand so forth, not find the packages.
– jon
Jul 3 '15 at 18:34
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
1
1
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
1
1
Do not use
sudo gedit ~/.profile! You should not need sudo to edit a file in your home directory.– jon
Jul 3 '15 at 17:48
Do not use
sudo gedit ~/.profile! You should not need sudo to edit a file in your home directory.– jon
Jul 3 '15 at 17:48
1
1
No: The
$PATH variable is so your system can find the commands latex and so forth, not find the packages.– jon
Jul 3 '15 at 18:34
No: The
$PATH variable is so your system can find the commands latex and so forth, not find the packages.– jon
Jul 3 '15 at 18:34
|
show 13 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
The path variable can be set in TeXstudio in options -> Configure TeXstudio -> Build.
Then tick the Show Advanced Options in the lower left corner.
Then put your path in Commands, in my case it is
/usr/local/texlive/2018/bin/x86_64-linux
click OK.
If your path is set in .bashrc to include the texlive installation, then you can test it with opening TeXstudio in a terminal which has the correct $PATH value. With which you can find the path to the pdflatex:
$ which pdflatex /usr/local/texlive/2018/bin/x86_64-linux/pdflatex
and paste it into TeXstudio.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The path variable can be set in TeXstudio in options -> Configure TeXstudio -> Build.
Then tick the Show Advanced Options in the lower left corner.
Then put your path in Commands, in my case it is
/usr/local/texlive/2018/bin/x86_64-linux
click OK.
If your path is set in .bashrc to include the texlive installation, then you can test it with opening TeXstudio in a terminal which has the correct $PATH value. With which you can find the path to the pdflatex:
$ which pdflatex /usr/local/texlive/2018/bin/x86_64-linux/pdflatex
and paste it into TeXstudio.
add a comment |
up vote
0
down vote
The path variable can be set in TeXstudio in options -> Configure TeXstudio -> Build.
Then tick the Show Advanced Options in the lower left corner.
Then put your path in Commands, in my case it is
/usr/local/texlive/2018/bin/x86_64-linux
click OK.
If your path is set in .bashrc to include the texlive installation, then you can test it with opening TeXstudio in a terminal which has the correct $PATH value. With which you can find the path to the pdflatex:
$ which pdflatex /usr/local/texlive/2018/bin/x86_64-linux/pdflatex
and paste it into TeXstudio.
add a comment |
up vote
0
down vote
up vote
0
down vote
The path variable can be set in TeXstudio in options -> Configure TeXstudio -> Build.
Then tick the Show Advanced Options in the lower left corner.
Then put your path in Commands, in my case it is
/usr/local/texlive/2018/bin/x86_64-linux
click OK.
If your path is set in .bashrc to include the texlive installation, then you can test it with opening TeXstudio in a terminal which has the correct $PATH value. With which you can find the path to the pdflatex:
$ which pdflatex /usr/local/texlive/2018/bin/x86_64-linux/pdflatex
and paste it into TeXstudio.
The path variable can be set in TeXstudio in options -> Configure TeXstudio -> Build.
Then tick the Show Advanced Options in the lower left corner.
Then put your path in Commands, in my case it is
/usr/local/texlive/2018/bin/x86_64-linux
click OK.
If your path is set in .bashrc to include the texlive installation, then you can test it with opening TeXstudio in a terminal which has the correct $PATH value. With which you can find the path to the pdflatex:
$ which pdflatex /usr/local/texlive/2018/bin/x86_64-linux/pdflatex
and paste it into TeXstudio.
answered yesterday
user855443
2728
2728
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f253530%2flatex-cannot-find-installed-packages%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Set the paths correctly (or whatever Windows requires). What OS do you use?
– jon
Jul 3 '15 at 16:34
I use Ubuntu 14.10. How do I set the paths permanently (if possible)? Thank you.
– usr203050
Jul 3 '15 at 16:47
1
If you don't actually need both distributions, the best way to go is to remove the outdated one. Things will be much simpler that way. But if you really need to have two or more TeX distributions, the other path-related comments will be useful.
– Paul Gessler
Jul 3 '15 at 17:29
1
Do not use
sudo gedit ~/.profile! You should not needsudoto edit a file in your home directory.– jon
Jul 3 '15 at 17:48
1
No: The
$PATHvariable is so your system can find the commandslatexand so forth, not find the packages.– jon
Jul 3 '15 at 18:34