How to set proxy for pacman?

Sometimes I need to use a proxy to update the system
Can i set proxy for pacman -Syu?

1 Like

I have never done this myself so I might not be able to assist you further. However, I found this in ArchWiki which looks like what you want to accomplish:


Thank you, solved
If set proxy in /etc/environment ,do I have to set up a proxy in privoxy config ,also?

1 Like

My guess would be that you might not need to but as said before I have never tried this combination so I cannot tell for sure. Perhaps other forum members with more experience in this area could give you a more adequate and accurate answer.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.