I've been using texlive 2011 on Fedora for a few weeks successfully but every time I restart the computer the paths for tlmgr, texdoc and so on are forgotten.
I set the paths as root using the following command
PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH
How can I make this permanent so I don't need to do it every time I restart my computer?
Many thanks.
export PATHafter you set it? Otherwise, the environment variable change will only be valid for the current terminal session and of course will not persist restarting of the computer or exiting the terminal – Martin Tapankov Oct 19 '11 at 9:53echo $SHELL) and whether you want it to be system-wide or just for a particular user. Finally, you should (almost) never do anything "as root"! – Andrew Stacey Oct 19 '11 at 9:56unameissue, I'll happily link to that as the "standard" answer on paths.) – Andrew Stacey Oct 19 '11 at 10:15$PATHand/etc/profileshouldn't be necessary for this. – kahen Oct 19 '11 at 11:11