How to "fake packages" for TeX Live on Arch Linux?
I installed TeX Live directly from the script rather than the Arch packages. However pacman is unaware that I installed it and tries to install texlive- packages when I install other science-related software.
$ sudo pacman -Syu --needed sagetex
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (6) dvisvgm-3.1.1-1 texlive-basic-2023.66594-19 texlive-bin-2023.66984-16
texlive-latex-2023.66594-19 texlive-latexrecommended-2023.66594-19 sagetex-3.6.1-4
Total Installed Size: 120.16 MiB
:: Proceed with installation? [Y/n]
I found this guide on how to trick the package manager but it was only for Debian-based distributions. How can I do the same on Arch?
manjaro. I have installedTeX Liveusing anAUR. I think this should work better in your case. No? – projetmbc Sep 24 '23 at 09:45PKGBUILD. One of them installs into/optwhich is not necessarily the best place. It's easier if you have things where documentation etc. expects. Also, if you do that, you have to install with root privileges. While the OP likely did that anyway, I prefer installing as an unprivileged user for security reasons. It is incredibly easy to create a dummy package on Arch (unlike Fedora, say). I don't see a reason to install TeX Live from AUR. A native installation is more KISS. – cfr Sep 24 '23 at 19:56