Skip to content

Instantly share code, notes, and snippets.

@vagnerzampieri
Forked from annacruz/gist:3738510
Created November 1, 2012 11:23
Show Gist options
  • Save vagnerzampieri/3993117 to your computer and use it in GitHub Desktop.
Save vagnerzampieri/3993117 to your computer and use it in GitHub Desktop.
sublime text ppa over proxy
add the http_proxy and https_proxy to .bashrc
export http_proxy='user:pass@proxy'
export https_proxy='user:pass@proxy'
sudo visudo
then add the following lines
Defaults env_keep="http_proxy"
Defaults env_keep="https_proxy"
then:
sudo bash
export https_proxy=http://[username:password@]www.proxy.com:8000/
add-apt-repository ppa:<whatever>
Then add the key in update-manager
http://ubuntu-tweak.com/source/webupd8team-sublime-text-2/key/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment