texlive-2017和klatexformula的问题
Tofloor
poster avatar
solarup
deepin
2018-05-05 19:20
Author
我的texlive在deepin安装没问题(光盘和下载安装都好好的),就是不好管理啊,无论su还是sudo,只要tlmgr gui就会出现
Loading local TeX Live database
  (/root/texmf/tlpkg/texlive.tlpdb)
This may take some time, please be patient ...
Cannot determine type of tlpdb from /root/texmf!
cannot setup TLPDB in /root/texmf at /usr/bin/tlmgr line 6071.
Compilation failed in require at /usr/bin/tlmgr line 4684.

klatexformula也不能用,启动出现:
Unable to create library file /home/solarup/.klatexformula/library.klf.db (SQLITE database):
Driver not loaded Driver not loaded
请教有同问题的坛友么?解决了么?怎么解决的?谢谢

Reply Favorite View the author
All Replies
avatar
duanyao
deepin
2018-05-05 21:12
#1
第一个问题,要先跑 tlmgr init-usertree ,不要 sudo(  http://www.bagualu.net/wordpress/archives/6523
要运行 tlmgr gui ,还需要先安装 perl-tk 和 xzdec(sudo apt-install perl-tk xzdec)。

第二个问题,要 sudo apt install libqt4-sql-sqlite ,原因是 debian 的 bug,没有把 libqt4-sql-sqlite 列为 klatexformula 的依赖 ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712019 ) 。

我当初在这里学 latex 的,你也可以看看:
http://www.ctex.org/
Reply View the author
avatar
solarup
deepin
2018-05-05 22:12
#2
https://bbs.deepin.org/post/156070
第一个问题,要先跑 tlmgr init-usertree ,不要 sudo(  http://www.bagualu.net/wordpress/archives/6523 ...

非常感谢,前去尝试
Reply View the author