I want to add SOCKS proxy settings to /etc/apt/apt.conf. What is the syntax for it? Is it same as http and ftp syntax?
Thanks.
aptPROXY
I want to add SOCKS proxy settings to /etc/apt/apt.conf. What is the syntax for it? Is it same as http and ftp syntax?
Thanks.
Best Answer
A possible solution can be to use
tsocks
, an application that can redirect the network traffic through a socks proxy. Installtsocks
package, modify/etc/tsocks.conf
to set address and port number of your socks proxy, and run:or
You can think to a number of options, to simplify and automate its use.
Don't forget the leading dot, the Manpage has more deatails on this.
Edit: a shorter way to use it: