Ubuntu 系统 apt install 指定代理
为apt命令指定-o Acquire::http::proxy="【http代理地址】"
例如:
sudo apt -o Acquire::http::proxy="http://127.0.0.1:36033/" install update
有些时候可能要用https, sudo apt-get -o Acquire::https::proxy="127.0.0.1:7890/" update
为apt命令指定-o Acquire::http::proxy="【http代理地址】"
例如:
sudo apt -o Acquire::http::proxy="http://127.0.0.1:36033/" install update
有些时候可能要用https, sudo apt-get -o Acquire::https::proxy="127.0.0.1:7890/" update