2016年10月22日 星期六

apt 執行小技巧收集

(1) 在執行 apt-get update 出現以下訊息時該如何處理?
The following packages were automatically installed and are no longer required:
(答)
sudo apt-get autoremove


(2) 如何查詢套裝軟體資訊?
(答)
  • 簡單列示:
apt list <package_name>

  • 完整資訊:
apt show <package_name>

  • 查詢套件:


apt search <package_name_pattern>
apt-cache search <package_name_pattern>

沒有留言:

張貼留言