sudo tlmgr install xecjk ctex
[sudo] password for smile921:
sudo: tlmgr: command not found
smile921@smile921:~$ which tlmgr
/usr/local/texlive/2010/bin/i386-linux//tlmgr
smile921@smile921:~$ ll /usr/local/texlive/2010/bin/i386-linux//tlmgr
lrwxrwxrwx 1 root root 36 2011-03-10 23:11 /usr/local/texlive/2010/bin/i386-linux//tlmgr -> ../../texmf/scripts/texlive/tlmgr.pl*
smile921@smile921:~$
相思爱文 于 2011-03-23 13:41:33发表:
提问时,清楚说明什么问题,没看明白楼主要做什么。
sudo,这里是root身份执行,所以,如果$PATH中没有,不要用绝对路径才行。注意,是root的$PATH,不是当前用户。