Skip to content

Instantly share code, notes, and snippets.

@gaotongfei
Created December 31, 2015 03:28
Show Gist options
  • Save gaotongfei/b4d3074a1737cf1cbdf2 to your computer and use it in GitHub Desktop.
Save gaotongfei/b4d3074a1737cf1cbdf2 to your computer and use it in GitHub Desktop.
use http proxy while using apt-get
sudo apt-get -o Acquire::http:proxy="http://127.0.0.1:1080" update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment