You are not logged in.

#1 2021-08-11 19:41:43

dc-forum
Member
Registered: 2021-08-11
Posts: 8

texlive is not not working [SOLVED]

I need the texlive-full version. Since it is only available on AUR I've disovered texlive-installer and tried it.

But it doesent work; TeXstudio (editor) output:

Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode "my-document".tex

Checking shows that the packages are there:

$ du -h /usr/local/texlive/2021
7.4G

If possible i would prefer to keep this version since my internetconnection is rather slow (3 hours for the 7.4G download time).

However, I tried to uninstall it but since it was installed indirectly with the texlive-instaler I'm not aware how to uninstall it.

Last edited by dc-forum (2021-08-25 16:05:05)

Offline

#2 2021-08-11 20:31:51

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: texlive is not not working [SOLVED]

Did you read the PKGBUILD of the texlive-installer before installing the package?

provides=('texlive-bin' 'texlive-htmlxml' 'texlive-formatsextra=2021' $(pacman -Sgq texlive-most texlive-lang))

It looks like it's just texlive-most and texlive-lang so I guess you just uninstall those or keep.

Last edited by d_fajardo (2021-08-11 20:37:54)

Offline

#3 2021-08-11 20:49:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,491
Website

Re: texlive is not not working [SOLVED]

d_fajardo, those are "provides", so they are not installed and thus cannot be uninstalled.  More importantly in this case, that's just tricking pacman into accepting that those packages are covered as dependencies if anything else needed them.  This AUR package just provides the installer which in turn "installs" a load of untracked files.

dc-forum, does pdflatex (and related tools) work from the command line?  In other words, is this an issue with the installed texlive system, or is it just a TexStudio issue?  Also, do you really need texlive-full?  Or what components do you actually need?  Have you tried tectonoic?  I've recently switched from texlive to tectonic, and it's great.  It pulls down tex packages as needed so you can use whatever you want but you only download what you actually use.

Last edited by Trilby (2021-08-11 20:52:44)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#4 2021-08-11 20:57:22

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: texlive is not not working [SOLVED]

Ahh thanks for clarifying that Trilby. So that's the way the package tricks pacman of installed packages.

EDIT: And thanks for the tectonic tip.

Last edited by d_fajardo (2021-08-11 20:59:11)

Offline

#5 2021-08-11 21:13:28

dc-forum
Member
Registered: 2021-08-11
Posts: 8

Re: texlive is not not working [SOLVED]

@d_fajardo

In the description on AUR it says it contains

texlive-bibtexextra, texlive-bin, texlive-core, texlive-fontsextra, texlive-formatsextra=2021, texlive-formatsextra, texlive-games, texlive-htmlxml, texlive-humanities, texlive-langchinese, texlive-langcyrillic, texlive-langextra, texlive-langgreek, texlive-langjapanese, texlive-langkorean, texlive-latexextra, texlive-music, texlive-pictures, texlive-pstricks, texlive-publishers, texlive-science 

PKGBUILD (probably) contains another version (probably from CTAN repository) of texlive-bin (size 70MiB vs. 7.4GiB)

$ pacman -Si texlive-bin
...
Installed Size  : 70.02 MiB

$ yay -Gp texlive-installer
...
provides=('texlive-bin' 'texlive-htmlxml' 'texlive-formatsextra=2021' $(pacman -Sgq texlive-most texlive-lang))

I've used TeX Live for a long time now and I'm pretty sure that the instlled (but not working) version is the full version (7.4GiB).

Last edited by dc-forum (2021-08-11 21:22:55)

Offline

#6 2021-08-11 21:19:30

dc-forum
Member
Registered: 2021-08-11
Posts: 8

Re: texlive is not not working [SOLVED]

@Trilby

pdflatex

doesn't work from terminal. Could it be that the path is not set?

Yes, i really need texlive-full. I use this for LaTeX courses I give, and have to be able to respond to any ad-hoc package requirements.

Last edited by dc-forum (2021-08-11 21:22:11)

Offline

#7 2021-08-11 23:53:56

lmn
Member
Registered: 2021-05-09
Posts: 92
Website

Re: texlive is not not working [SOLVED]

dc-forum wrote:

Could it be that the path is not set?

By asking that question it is safe to assume yes as the  texlive installer prompts you to do so, (and more actually)

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

These are all going by your given prefix in the first post, but are also the default directories .

Offline

#8 2021-08-12 10:06:18

dc-forum
Member
Registered: 2021-08-11
Posts: 8

Re: texlive is not not working [SOLVED]

@Imn: Thank you.

I'm not aware of an prompt to enter the new paths. Here you find a print screen of texlive-installer, dialog before installing (made now, post installation, for the print screen).

https://i.imgur.com/m3UmnsY.png

However, how could I fix the issue? I would prefer if the paths are set automatically, rather than tweaking it manually.

Offline

#9 2021-08-12 11:09:36

lmn
Member
Registered: 2021-05-09
Posts: 92
Website

Re: texlive is not not working [SOLVED]

dc-forum wrote:

I'm not aware of an prompt to enter the new paths.

There is no prompt to select, what I meant was it tells you to do so after the installation.

dc-forum wrote:

However, how could I fix the issue? I would prefer if the paths are set automatically, rather than tweaking it manually.

I'm afraid your manual intervention is required. Check the wiki on how to achieve this.

Offline

#10 2021-08-25 16:03:12

dc-forum
Member
Registered: 2021-08-11
Posts: 8

Re: texlive is not not working [SOLVED]

As suggested by lmn the paths

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

were added to the:

.bashrc

It is working now! Thank you all!

Offline

#11 2022-03-05 11:06:54

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: texlive is not not working [SOLVED]

A better way to do this is to have a file /etc/profile.t/texlive.sh with the content you put into your local .bashrc .  That way you could change your default user and his shell (given it is a posix shell).

Offline

#12 2022-03-05 13:34:34

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: texlive is not not working [SOLVED]

Actually, the texlive installer from TUG does provide a way to get the binaries in your PATH without custom customization; you just need to choose the option to create symlinks to a standard directory (e.g., /usr/local/bin) when you run the installer: see here. You probably just didn't notice that option when you installed.

Offline

Board footer

Powered by FluxBB