title: linux when setting my latex PATH the PATH only maintains its value for the duration of the terminal window if i exit i have to reset everytime
body: <p><strong>ALSO POSTED HERE i was not aware for tex.stackexchange before i made this post, so sorry for the double/cross post here is the link to the other tex.stackexchange post</strong></p>
  
  <p><a href="https://tex.stackexchange.com/questions/153949/linuxnew-to-latex-path-to-latex-is-resetting-every-time-exit-the-terminal">https://tex.stackexchange.com/questions/153949/linuxnew-to-latex-path-to-latex-is-resetting-every-time-exit-the-terminal</a></p>
  
  <p>I am trying to learn latex and i am running linux mint 15 x64. I have installed "texlive" and followed this installation guide:</p>
  
  <p><a href="http://www.tug.org/texlive/quickinstall.html" rel="nofollow noreferrer">http://www.tug.org/texlive/quickinstall.html</a></p>
  
  <p>The problem i am having is, as the title suggests when i set my PATH variable to the latex directory, it works fine for one terminal window only, if i exit that terminal window the PATH no longer points to the latex install, thus i have to reset it every time which is rather annoying.</p>
  
  <p>I am using the following command:</p>
  
  <pre><code>PATH=/usr/local/texlive/2013/bin/x86_64-linux/:$PATH 
  </code></pre>
  
  <p>then when i do:</p>
  
  <p>echo $PATH i get this result:</p>
  
  <pre><code>/usr/local/texlive/2013/bin/x86_64-linux/:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  </code></pre>
  
  <p>and i can do this:</p>
  
  <pre><code>latex --version
  
  pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
  kpathsea version 6.1.1
  Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  There is NO warranty.  Redistribution of this software is
  covered by the terms of both the pdfTeX copyright and
  the Lesser GNU General Public License.
  For more information about these matters, see the file
  named COPYING and the pdfTeX source.
  Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
  Compiled with libpng 1.5.16; using libpng 1.5.16
  Compiled with zlib 1.2.7; using zlib 1.2.7
  Compiled with xpdf version 3.03
  </code></pre>
  
  <p>which is as expected, but when i close the terminal window, and re open it i get the following:</p>
  
  <pre><code>echo $PATH
  </code></pre>
  
  <p>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx &lt;--- missing the latex path</p>
  
  <p>and when i check the version:</p>
  
  <pre><code>latex --version:
  The program 'latex' is currently not installed. You can install it by typing:
  sudo apt-get install texlive-latex-base
  </code></pre>
  
  <p>i have also tried doing the same as the super-user, i get the same end product.</p>
  
  <p>Any have a solution to this problem?</p>
  
  <p>Thanks,
  Chris.</p>