I have installed TeX Live 2011 vanilla and I have trouble setting the TeX Live path for root (in Ubuntu 11.10).
The problem is that when I run
sudo tlmgr I get:
sudo: tlmgr: command not found
To fix the path for non-root it was sufficient to add
I have tried adding this same line to
/root/.bashrc and I have also tried to add it to
/etc/profile.d/zzz-texlive.sh like Herbert suggest in http://tex.stackexchange.com/questions/26624/tlmgr-inaccessible/26626#26626 but it does not help.