Skip to content

Instantly share code, notes, and snippets.

@WindomZ
Last active June 20, 2017 07:57
Show Gist options
  • Save WindomZ/411288975afb8040764757533a0c36d9 to your computer and use it in GitHub Desktop.
Save WindomZ/411288975afb8040764757533a0c36d9 to your computer and use it in GitHub Desktop.
how to install packages with apt-get on a system connected via proxy
sudo vim /etc/apt/apt.conf
# The contents were:
Acquire::http::proxy "http://<proxy>:<port>/";
Acquire::ftp::proxy "ftp://<proxy>:<port>/";
Acquire::https::proxy "https://<proxy>:<port>/";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment