I installed texlive 2016 on my ubuntu 16.04 and everything works fine. Now when I try to install an editor (like kile, texmaker, texstudio, etc.) through apt-get install
I'm forced to install texlive packages from ubuntu, as if I didn't have texlive already... How can I manage to just install a tex editor without installing texlive ?
1 Answer
As jon suggested, you can create a texlive dummy package using equivs and install it. That would satisfy the dependency requirements for any package that needs texlive*.
As I see texstudio does not have a dependency on texlive. So, to prevent apt from pulling in the extra packages, you can try installing it thus:
apt-get --no-install-recommends install texstudio
Edit: Following crocefisso's observation, including install in the command.
-
I don't remember how I did it (months ago), but it definitely can be done. On Ubuntu 16.04 I have TeXLive 2016 in my home folder, obtained directly from TeXLive, not the Ubuntu distro. And, I have TeXworks, via the Ubuntu distro. As I recall, it required some trickery. So have faith, OP, and follow the instructions given in the answers.– user103221Feb 26, 2017 at 3:03
-
@mas Thanks, it worked like a charm! It also works with texmaker and the other editors. You forgot
install
in your line :sudo apt-get install --no-install-recommends <package>
Feb 26, 2017 at 10:30 -
-
Apt
has anequivs
package, which you can use to circumvent the Debian/Ubuntu package dependencies. See Integrating vanilla TeX Live with Debian (scroll down to that heading).texlive
package. To download and install all of texlive you'd doapt-get install texlive-full
install-tl-unx.tar.gz
, then I didsudo apt-get install perl-tk
, then./install-tl -gui=perltk
. If I need to install additional packages I usetlmgr -gui
.