<p>gnuplot is giving the error: "sh: kpsexpand: not found." </p>

<p>I feel like the guy in Office Space when he saw "PC LOAD LETTER". What the heck is kpsexpand?</p>

<p>I searched Google, and there were a lot of pages that make reference to kpsexpand, and say not to worry about it, but I can't find anything, anywhere that actually explains <em>what it is.</em></p>

<p>Even the man page stinks:</p>

<pre><code>$ man kpsexpand

kpsetool - script to make teTeX-style kpsetool, kpsexpand, and kpsepath available
</code></pre>

<p>Edit: Again, I'm not asking what to do -- I know what to do, thanks to Google. What I'm wondering is what the darn thing <em>is.</em></p>

[{'answer_id': 69575, 'author': 'Espo', 'author_id': 2257, 'author_profile': 'https://Stackoverflow.com/users/2257', 'pm_score': 1, 'selected': False, 'text': '<p>This is on the first page of google search results for "kpexpand gnuplot":</p>\n\n<p><a href="http://dschneller.blogspot.com/2007/06/visualize-hard-disk-temperature-with.html" rel="nofollow noreferrer">http://dschneller.blogspot.com/2007/06/visualize-hard-disk-temperature-with.html</a></p>\n\n<p>It says that you do not need to care about the error-messages.</p>\n\n<p>Here is the manual page for kpsexpand:</p>\n\n<p><a href="http://linux.die.net/man/1/kpsexpand" rel="nofollow noreferrer">http://linux.die.net/man/1/kpsexpand</a></p>\n'}, {'answer_id': 2538565, 'author': 'Born2Smile', 'author_id': 250287, 'author_profile': 'https://Stackoverflow.com/users/250287', 'pm_score': 2, 'selected': False, 'text': '<p>kpsexpand, kpsetool and kpsepath are all wrappers for kpsewhich that deals with finding tex-related files\nkpsexpand is used to expand environment varibles.\nSay $VAR1 is "Hello World" and $VAR2 is "/home/where/I/belong" then</p>\n\n<pre><code>$ kpsexpand $VAR1</code></pre>\n\n<p>will return</p>\n\n<pre><code>Hello World</code></pre>\n\n<p>and <pre><code>$ kpsexpand $VAR2</code></pre> will return</p>\n\n<pre>/home/where/I/belong</pre>\n\n<p><code>kpsewhich</code> is reminiscent to <code>which</code> just like <code>which progname</code> will search the directories in the $PATH environment variable and return the path of the first found progname, <code>kpsewhich filename</code> will search the directories in the various tex-paths, fonts, packages, etc. for filename.</p>\n\n<p>to find out more lookup kpsewhich either in man or on google, and check out the source of kpsexpand</p>\n\n<pre><code>less `which kpsexpand`</code></pre>\n\n<p>Cheers\n/B2S</p>\n'}]
['https://Stackoverflow.com/questions/69561', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7598/']