📌  相关文章
📜  add-apt-repository 和更新 APT 缓存的示例 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:19.550000             🧑  作者: Mango

代码示例1
# Adds a repository into the file
add-apt-repository 'deb http://us.archive.ubuntu.com/ubuntu xenial main universe' 

# Removes a repository from the file
add-apt-repository -r 'deb http://us.archive.ubuntu.com/ubuntu xenial main universe'

# Updates the APT cache
apt-get update