apt-get install 的參數(shù)

sudo apt-get install -y xx
-y:yes,在命令行交互提示中,直接輸入 yes

sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot emacs-snapshot-el

-f:解決包依賴的問(wèn)題
sudo apt-get -f install xx

--no-install-recommends參數(shù)來(lái)避免安裝非必須的文件,從而減小鏡像的體積

sudo apt-get -y install --no-install-recommends openresty


參考:

https://www.cnblogs.com/pswzone/archive/2012/04/09/2438885.html

https://blog.csdn.net/lanchunhui/article/details/57086547

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容