Have Miktex and Texlive side-by-side on Ubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did is:



Find TexLive executables location:



whereis texlive


That gives:



texlive: /usr/local/texlive /usr/share/texlive


so I added the first one to the PATH, by making sure it comes as first:



PATH=/usr/local/texlive/2018/bin/x86_64-linux:$PATH ; export PATH


Checking the PATH indeed gives:



/usr/local/texlive/2018/bin/x86_64-linux:/home/stefano/mpich-install/bin:/home/stefano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


However, if I do:



tex --version


Still I get:




MiKTeX-TeX 2.9.6300 (3.14159265) (MiKTeX 2.9.6700) Copyright (C) 1982
by D. E. Knuth; all rights are reserved. TeX is a trademark of the
American Mathematical Society. using bzip2 version 1.0.6, 6-Sept-2010
compiled with curl version 7.58.0; using libcurl/7.58.0 OpenSSL/1.1.0g
zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4)
nghttp2/1.30.0 librtmp/2.3 compiled with expat version 2.2.5; using
expat_2.2.5 compiled with liblzma version 50020022; using 50020022
compiled with MiKTeX Application Framework version 2.6636; using
2.6636 compiled with MiKTeX Core version 6.6704; using 6.6704 compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300 compiled
with MiKTeX Package Manager version 2.6700; using 2.6700 compiled with
openssl version OpenSSL 1.1.0g 2 Nov 2017; using OpenSSL 1.1.0g 2 Nov
2017 compiled with uriparser version 0.8.4 compiled with zlib version
1.2.11; using 1.2.11




And the same goes for pdflatex and xelatex. Notice that:



which pdflatex


Gives:



/home/stefano/bin/pdflatex


Which is actually a symlink as I can see from:



ls -lah | grep pdflatex


Output:



lrwxrwxrwx 1 root root 22 mag 29 14:37 pdflatex -> /usr/bin/miktex-pdftex


What I'm missing?







share|improve this question























    up vote
    0
    down vote

    favorite












    I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did is:



    Find TexLive executables location:



    whereis texlive


    That gives:



    texlive: /usr/local/texlive /usr/share/texlive


    so I added the first one to the PATH, by making sure it comes as first:



    PATH=/usr/local/texlive/2018/bin/x86_64-linux:$PATH ; export PATH


    Checking the PATH indeed gives:



    /usr/local/texlive/2018/bin/x86_64-linux:/home/stefano/mpich-install/bin:/home/stefano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


    However, if I do:



    tex --version


    Still I get:




    MiKTeX-TeX 2.9.6300 (3.14159265) (MiKTeX 2.9.6700) Copyright (C) 1982
    by D. E. Knuth; all rights are reserved. TeX is a trademark of the
    American Mathematical Society. using bzip2 version 1.0.6, 6-Sept-2010
    compiled with curl version 7.58.0; using libcurl/7.58.0 OpenSSL/1.1.0g
    zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4)
    nghttp2/1.30.0 librtmp/2.3 compiled with expat version 2.2.5; using
    expat_2.2.5 compiled with liblzma version 50020022; using 50020022
    compiled with MiKTeX Application Framework version 2.6636; using
    2.6636 compiled with MiKTeX Core version 6.6704; using 6.6704 compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300 compiled
    with MiKTeX Package Manager version 2.6700; using 2.6700 compiled with
    openssl version OpenSSL 1.1.0g 2 Nov 2017; using OpenSSL 1.1.0g 2 Nov
    2017 compiled with uriparser version 0.8.4 compiled with zlib version
    1.2.11; using 1.2.11




    And the same goes for pdflatex and xelatex. Notice that:



    which pdflatex


    Gives:



    /home/stefano/bin/pdflatex


    Which is actually a symlink as I can see from:



    ls -lah | grep pdflatex


    Output:



    lrwxrwxrwx 1 root root 22 mag 29 14:37 pdflatex -> /usr/bin/miktex-pdftex


    What I'm missing?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did is:



      Find TexLive executables location:



      whereis texlive


      That gives:



      texlive: /usr/local/texlive /usr/share/texlive


      so I added the first one to the PATH, by making sure it comes as first:



      PATH=/usr/local/texlive/2018/bin/x86_64-linux:$PATH ; export PATH


      Checking the PATH indeed gives:



      /usr/local/texlive/2018/bin/x86_64-linux:/home/stefano/mpich-install/bin:/home/stefano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


      However, if I do:



      tex --version


      Still I get:




      MiKTeX-TeX 2.9.6300 (3.14159265) (MiKTeX 2.9.6700) Copyright (C) 1982
      by D. E. Knuth; all rights are reserved. TeX is a trademark of the
      American Mathematical Society. using bzip2 version 1.0.6, 6-Sept-2010
      compiled with curl version 7.58.0; using libcurl/7.58.0 OpenSSL/1.1.0g
      zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4)
      nghttp2/1.30.0 librtmp/2.3 compiled with expat version 2.2.5; using
      expat_2.2.5 compiled with liblzma version 50020022; using 50020022
      compiled with MiKTeX Application Framework version 2.6636; using
      2.6636 compiled with MiKTeX Core version 6.6704; using 6.6704 compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300 compiled
      with MiKTeX Package Manager version 2.6700; using 2.6700 compiled with
      openssl version OpenSSL 1.1.0g 2 Nov 2017; using OpenSSL 1.1.0g 2 Nov
      2017 compiled with uriparser version 0.8.4 compiled with zlib version
      1.2.11; using 1.2.11




      And the same goes for pdflatex and xelatex. Notice that:



      which pdflatex


      Gives:



      /home/stefano/bin/pdflatex


      Which is actually a symlink as I can see from:



      ls -lah | grep pdflatex


      Output:



      lrwxrwxrwx 1 root root 22 mag 29 14:37 pdflatex -> /usr/bin/miktex-pdftex


      What I'm missing?







      share|improve this question











      I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did is:



      Find TexLive executables location:



      whereis texlive


      That gives:



      texlive: /usr/local/texlive /usr/share/texlive


      so I added the first one to the PATH, by making sure it comes as first:



      PATH=/usr/local/texlive/2018/bin/x86_64-linux:$PATH ; export PATH


      Checking the PATH indeed gives:



      /usr/local/texlive/2018/bin/x86_64-linux:/home/stefano/mpich-install/bin:/home/stefano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin


      However, if I do:



      tex --version


      Still I get:




      MiKTeX-TeX 2.9.6300 (3.14159265) (MiKTeX 2.9.6700) Copyright (C) 1982
      by D. E. Knuth; all rights are reserved. TeX is a trademark of the
      American Mathematical Society. using bzip2 version 1.0.6, 6-Sept-2010
      compiled with curl version 7.58.0; using libcurl/7.58.0 OpenSSL/1.1.0g
      zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4)
      nghttp2/1.30.0 librtmp/2.3 compiled with expat version 2.2.5; using
      expat_2.2.5 compiled with liblzma version 50020022; using 50020022
      compiled with MiKTeX Application Framework version 2.6636; using
      2.6636 compiled with MiKTeX Core version 6.6704; using 6.6704 compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300 compiled
      with MiKTeX Package Manager version 2.6700; using 2.6700 compiled with
      openssl version OpenSSL 1.1.0g 2 Nov 2017; using OpenSSL 1.1.0g 2 Nov
      2017 compiled with uriparser version 0.8.4 compiled with zlib version
      1.2.11; using 1.2.11




      And the same goes for pdflatex and xelatex. Notice that:



      which pdflatex


      Gives:



      /home/stefano/bin/pdflatex


      Which is actually a symlink as I can see from:



      ls -lah | grep pdflatex


      Output:



      lrwxrwxrwx 1 root root 22 mag 29 14:37 pdflatex -> /usr/bin/miktex-pdftex


      What I'm missing?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 26 at 7:48









      S. G. Rinaldo

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451941%2fhave-miktex-and-texlive-side-by-side-on-ubuntu%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451941%2fhave-miktex-and-texlive-side-by-side-on-ubuntu%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay