Using HTTP or SOCKS proxy with Gentoo Portage (emerge)
Reply
When running a Gentoo Linux system in a restricted network environment, routing package downloads and repository synchronization through a proxy is sometimes necessary. Here is how to configure emerge to use HTTP or SOCKS proxies. Before getting started, It is recommended to configure Portage to use Git instead of rsync. Git makes emerge --sync much faster after the initial clone and handles HTTP and SOCKS proxy configurations easily through standard Git and HTTP settings. Adding the proxy to make.conf The standard method to route emerge fetches through a proxy is to define standard environment variables in /etc/portage/make.conf. HTTP proxy To … Continue reading