From Chocolate Owl, 1 Year ago, written in Bash.
Embed Show code
  1. # export TOR proxy
  2. export http_proxy='127.0.0.1:8118'
  3. export https_proxy='127.0.0.1:8118'
  4.  
  5. # sync and update pacman packages. sudo -E is so the TOR proxies will work
  6. sudo -E pacman -Syu
  7.  
  8. # update packages for AUR (and any remaining pacman since this does both system and AUR). Seems to respect port 8118 so far as well)
  9. yay
  10.  
  11. # update flatpaks. works with http/s proxy variable out of the box, no need for sudo -E
  12. flatpak update -v
1
2
3
4
5
6
7
8
9
10
11
12
 
# export TOR proxy
export http_proxy='127.0.0.1:8118'
export https_proxy='127.0.0.1:8118'
 
# sync and update pacman packages. sudo -E is so the TOR proxies will work
sudo -E pacman -Syu
 
# update packages for AUR (and any remaining pacman since this does both system and AUR). Seems to respect port 8118 so far as well)
yay
 
# update flatpaks. works with http/s proxy variable out of the box, no need for sudo -E
flatpak update -v
captcha