當你只知道缺少某個檔案,卻不知道該檔案在哪個套件中時
就可以用apt-file來尋找該檔案是在哪個套件中
安裝apt-file:
sudo apt-get install apt-file安裝完記得先update更新cache:
sudo apt-file update然後就可以使用apt-file了:)
使用apt-file,範例:
sudo apt-file find gtkwidget.h
如此就可以找出gtkwidget.h所在的套件:)
一些學習的筆記
sudo apt-get install apt-file安裝完記得先update更新cache:
sudo apt-file update然後就可以使用apt-file了:)
sudo apt-file find gtkwidget.h
0 意見:
張貼意見