I just create a file at /etc/profile.d/texlive.sh
where I export paths from textlive. When I log as root tlgmr
is in path, when I log as normal user too but when I doo sudo tlmgr install xelatex
I complains that command tlmgr was not found
How can I make sudo read /etc/profile
file?