The official Solus repository provides only texlive-base (current version: 20160523b-6) for installation. How can one install texlive-full (current version: 2016) on Solus Linux?
[Tex/LaTex] Texlive Full installation on Solus Linux
installingtexlive
Best Answer
texlive-full
installationThe following provides a step-by-step guide for installing texlive-full on Solus Linux. Plase see this texlive-full quick install for detailed instructions.
There are a number of ways to install texlive-full like network install, iso install, etc. A more detailed description can be found in above link. Assuming network install, the first step is to download the installer and run the install-tl script.
After the installation is done, the next step is setup the
PATH
variable. Add the following two lines to yourbashrc
file located in yourhome
directory. Full path of thebashrc
file is:/home/username/.bashrc
.PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH
export PATH
Note
PATH
variable asPATH=$PATH:/usr/local/texlive/2016/bin/x86_64-linux
. The reason for this will be explained later.PATH
variable. For example if you have a 32-bit platform usePATH=/usr/local/texlive/2016/bin/i386-linux:$PATH
Next, logout and then after login check if the the
PATH
variable is properly set or not, run this command:echo $PATH
. This should output something similar to:/usr/local/texlive/2016/bin/x86_64-linux:/usr/local/bin:/usr/bin:/bin
This is it, check if latex is properly installed by running the command
latex
. This should output something like:This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=latex) restricted \write18 enabled. **
Setting up
TeXstudio
in Solus linuxThe above was the easy part. Most of us work with an integrated editor such as
TeXstudio
when working with latex. The following guide shows how to setup an editor such asTeXstudio
to work withtexlive-full
in Solus linux. Although the following is written forTeXstudio
in mind, it should work with other editors also with appropriate changes.Install
TeXstudio
from the software center. The problem is that this will also install thetexlive-base
package present in the Solus repository. The reason is thatTeXstudio
depends upon thetexlive-base
package and the Solus software center does not recognize thetexlive-full
installation that is already installed on the system (if you followed the guide till now, that is). I couldn't find a workaround this. No worries though, proceed with the installation of bothTeXstudio
andtexlive-base
package.After the install is done, you would have two different versions of
texlive
installed on the system.texlive-full
which was installed manually.texlive-base
which was installed along withTeXstudio
.Now, if you compile a latex document via the terminal it will compile via the
texlive-full
package. (Hence the reason for setting up thePATH
variable asPATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH
). But if you compile your document usingTeXstudio
, then it will compile via thetexlive-base
package.Hence, the next step is to manually configure
TeXstudio
to use thetexlive-full
package.TeXstudio
and go toOptions -> Configure TeXstudio -> Commands
texlive
package.Select Program
icon on the right side of the pane, and browse to thetexlive-full
installation directory. in my case, this is :/usr/local/texlive/2016/bin/x86_64-linux/
. Find and select the appropriate program for each of:latex, pdflatex, xelatex, lualatex
and you are doneThat's it !!!