天天看點

debain安裝lyx2.2.2,以及報錯整理:

建議安裝 aptitude (apt的可視化版本,滑鼠也可以操作)

        # sudo apt-get install aptitude

進入aptitude

      # sudo aptitude

     鍵入 u                  // 擷取最新的軟體包更新清單!注意,一定要更新  或者:點左上角 [動作] -> [更新軟體包清單]

     鍵入 /                   // 開啟查找頁面       或者:點正上方 [搜尋]->[查找]

     鍵入 lyx               //  再敲擊回車開始模糊查詢。找到

錯誤2:

解決:

        # sudo apt-get install zlib1g-dev

缺少的依賴包下載下傳連結:

https://packages.debian.org/

https://packages.debian.org/unstable/libqt4-dev

錯誤3:

warning: 未知文檔類

----------------------------------------

the selected document class

    中文書(ctex)

requires external files that are not available.

the document class can still be used, but the

document cannot be compiled until the following

prerequisites are installed:

    ctexbook.cls

    xecjk.sty

see section 3.1.2.2 (class availability) of the

user's guide for more information.

texlive 沒安裝全,大概缺少中文子產品。

最簡單粗暴方法

sudo apt-get install texlive-full

繼續閱讀