Skip to content

Instantly share code, notes, and snippets.

@wonderbeyond
Last active January 30, 2025 12:31
Show Gist options
  • Save wonderbeyond/3448c2f281062d61716efa1d8083a102 to your computer and use it in GitHub Desktop.
Save wonderbeyond/3448c2f281062d61716efa1d8083a102 to your computer and use it in GitHub Desktop.
[ubuntu][socks5][proxy] Set proxy for apt
@firvida
Copy link

firvida commented Mar 16, 2022

Using this and works good!!!

@cabralesperez
Copy link

helped me, thank you very much

@ppc52776
Copy link

Thanks!!!

@jianmo-z
Copy link

Thanks, work for me

@DFazeli
Copy link

DFazeli commented Dec 5, 2022

Thank you very much, it worked for me too.

@Vinnsent
Copy link

Thanks man, after almost hour of struggling i found your solution and it worked like charm!

@mnaderian
Copy link

How is it possible to add exceptions? Like if we want some URLs to be bypassed?

@Yegorov
Copy link

Yegorov commented Dec 24, 2024

Also work for me sudo http_proxy=socks5h://localhost:1080 apt-get update

@AMD-NICK
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment