ubuntu apt Cookie

apt cache tmp file location

/var/cache/apt/archives/ 

clean tmp file

apt clean

apt autoclean

apt autoremove

apt 走 socks*

1
2
apt install tsocks
vi /etc/tsocks.conf
1
2
3
4
5
6
local = 192.168.1.0/255.255.255.0  
local = 127.0.0.0/255.0.0.0

server = 0.0.0.0 #socks IP
server_type = 5 #socks version
server_port = 24 #socks port
1
tsocks apt install xxxx

ref