I'm running Arch Linux, and I have texlive 2013 installed from CTAN, not from repositories. Now when I try to install lilypond via pacman, it wants texlive-bin-2013.30973-7 and texlive-core-2013.31589-1 as dependencies.

I guess there must be a way to point to my existing texlive, but what is it exactly?

These threads ("Installing from source. How to resolve dependencies without destroying the package manager.", "Package installation and dependancies - how to prevent installation of existing libraries?") don't seem to answer my question. Do I need to involve into something like "Link a dependency in Synaptic to the one already installed from source"?

  • 5
    The simplest, sanest approach would be just to use pacman to manage your packages. – jasonwryan Mar 6 '14 at 7:49
  • 1
    Do you mean, (re)install texlive with pacman, not from ctan? – Ivan Kapitonov Mar 6 '14 at 8:40
  • 1
    Yes. Remove the untracked packages, install texlive with pacman and then you won't have to worry about it all going pear shaped down the track (which it will with your current approach). – jasonwryan Mar 6 '14 at 8:45
  • My approach actually stemmed from the belief (please correct me if I'm wrong) that the ctan installation provides a fuller and more up-to-date version of texlive than the distro-specific installations do. Maybe it's the case with Ubuntu but not Arch? – Ivan Kapitonov Mar 6 '14 at 15:54
  • 1
    That's probably true for Ubuntu. Arch uses vanilla packages and pushes them to the repos as they are released upstream. You can install all of the tex-* packages you require using pacman (or makepkg if they are in the AUR) and be up-to-date. – jasonwryan Mar 6 '14 at 16:20

Option would be to create "virtual" (read empty) package for it. With Arch creating your own packages is very easy. Just take inspiration from existing PKGBUILDs and adjust "Provides" accordingly.

| improve this answer | |

Thanks to @jasonwryan for advice, I did the following:

First, I removed my old installation:

# rm -rf /usr/local/texlive
$ rm -rf ~/.texlive2013

Then I just installed lilypond with pacman, which pulled texlive-core and texlive-bin as dependencies:

# pacman -S lilypond

Then I installed some optional dependencies (psutils and t1utils), followed by texlive-lang and texlive-most:

# pacman -S psutils t1utils
# pacman -S texlive-lang texlive-most

Both tex and lilypond work, yay for Arch and pacman.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.