用socks代理使用apt-get命令

安装 apt-get install tsocks 配置 ```bash /etc/tsocks.conf vi /etc/tsocks.conf local = 192.168.1.0/255.255.255.0 #local表示本地的网络,也就是不使用socks代理的网络 ... server = 127.0.0.1 #socks服务器的IP server_type = 5 ...