A temporary proxy does not work:
export http_proxy=http://myproxyaddress:proxyport
I have to create a file
gksudo gedit /etc/apt/apt.confwith the following content:
Acquire::http::Proxy "http://myproxyaddress:proxyport";
display source.list
cat /etc/apt/sources.list
本文详细介绍了如何在Linux环境下使用文本编辑器修改`/etc/apt/apt.conf`文件,设置代理以解决临时代理不工作的状况,并展示了如何通过查看`sources.list`文件验证配置是否生效。

被折叠的 条评论
为什么被折叠?



