Skip to content

Instantly share code, notes, and snippets.

@annacruz
Created September 17, 2012 17:04
Show Gist options
  • Save annacruz/3738510 to your computer and use it in GitHub Desktop.
Save annacruz/3738510 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