Le 28/05/2016 à 08:31, James Hogarth a écrit :
On 27 May 2016 20:47, "Samuel Sieb" <samuel@sieb.net mailto:samuel@sieb.net> wrote:
On 05/27/2016 08:07 AM, François Patte wrote:
I would like to install texmaker, but dnf wants to install a full texlive.... I have already installed texlive from CTAN and I don't want to have two texlive on may machine.
How can I get rid of dependencies?
You can use rpm --nodeps to install it, but then dnf will probably
complain at you forever about it.
Another option is to use "rpmrebuild -ep yourpackage.rpm". (dnf
install rpmrebuild) This will give you an editor (probably vi) to edit a recreated spec file. If you remove the problematic Depends lines and save it, it will build you a new rpm file without the dependencies that dnf should let you install. Don't remove all the Depends, just the texlive ones.
Which of course will promptly be reverted the next update leading to eternal dependency hell fights, and would have to be done for every package that has a dependency on a texlive subpackage.
Naturally the "correct" answer is not to mix source and package installs on a package based system.
Why did you feel a need for CTAN?
Because texlive from distro are not updated like texlive from CTAN using tlmgr.
Because binaries are not statically linked and if a bug happens in a library when you update fedora, you cannot work with your TeX install.....
Something is inconsistent in these dependencies: if you succeed to install texmaker from a distro without texlive installed from the same distro, texmaker is able to find your texlive install (ie. /usr/local/ texlive/2015/bin/x86_64-linux/ instead of /usr/bin), so texmaker does not depend of the texlive install.