apt-get -y install 套件名
只會幫你一次安裝好套件
但如果中間出現對話框,還是會卡住

如果要跳過 prompt 過程
可以加上
DEBIAN_FRONTEND=noninteractive apt-get -y install 套件1 套件2


 

arrow
arrow
    文章標籤
    debian apt-get
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()