sudo apt-get   install software-name -Acquire::http::proxy="http://用户名:密码@代理服务器IP:代理服务器端口"
如果不需要用户名和密码使用如下方式:
 sudo apt-get  install software-name -Acquire::http::proxy="http://代理服务器IP:代理服务器端口"
      -o 表示代理设置,可以不用配置文件方式
 
sudo apt-get   install software-name -Acquire::http::proxy="http://用户名:密码@代理服务器IP:代理服务器端口"
如果不需要用户名和密码使用如下方式:
 sudo apt-get  install software-name -Acquire::http::proxy="http://代理服务器IP:代理服务器端口"
      -o 表示代理设置,可以不用配置文件方式
 

相关文章:

  • 2021-09-03
  • 2021-05-16
  • 2021-07-26
  • 2021-11-22
  • 2022-02-24
  • 2021-07-22
  • 2021-11-14
猜你喜欢
  • 2021-10-10
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案