Manjaro Difference between revisions of "Pacman-mirrors"

Difference between revisions of "Pacman-mirrors"

From Manjaro
imported>Fhdk
imported>Fhdk
(Added some extra sample commands)
Line 35: Line 35:
  pacman-mirrors -aG
  pacman-mirrors -aG


====MOD: Customizing mirror pool====
====DEFAULT: Mirrors for your country only====
You can customized the mirror pool to your preference.
Don't limit yourself too much as pacman-mirrors '''only''' writes up-to-date mirrors to your mirrorlist.
 
====MOD: Customize for your country only====
  sudo pacman-mirrors --geoip && sudo pacman -Syy
  sudo pacman-mirrors --geoip && sudo pacman -Syy


====MOD: Customize mirror pool by countries====
====DEFAULT: create a mirrorlist====
  sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy
  sudo pacman-mirrors -f[number] && sudo pacman -Syy


====MOD: Customizing the mirror pool by interactive selection====
Optional a number can be given to limit the number of mirrors in the mirrorlist
sudo pacman-mirrors -id && sudo pacman -Syy


====MOD: create a mirrorlist====
====DEFAULT: Limit to 5 mirrors=====
  sudo pacman-mirrors -f0 && sudo pacman -Syy
  sudo pacman-mirrors -f 5 && sudo pacman -Syy


The number can be changed to limit the number of mirrors in the mirrorlist
====DEFAULT: Temporarily switch to unstable branch====
sudo pacman-mirrors -b unstable && sudo pacman -Syy


====MOD: Limit to 5 mirrors=====
====DEFAULT: Switch back to stable branch====
  sudo pacman-mirrors -f5 && sudo pacman -Syy
  sudo pacman-mirrors -b stable && sudo pacman -Syy


====MOD: Temporarily switch to unstable branch====
====CUSTOMIZE: Customizing mirror pool====
sudo pacman-mirrors -b unstable && sudo pacman -Syy
You can customize the mirror pool to your preference.
BUT Don't limit yourself too much as pacman-mirrors '''only''' writes up-to-date mirrors to your mirrorlist.


====MOD: Switch back to stable branch====
====CUSTOMIZE: Customize mirror pool by countries====
  sudo pacman-mirrors -b stable && sudo pacman -Syy
  sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy


====MOD: Permanently switch branch====
====CUSTOMIZE: Customizing the mirror pool by interactive selection====
  sudo pacman-mirrors -aB unstable && sudo pacman -Syy
  sudo pacman-mirrors -id && sudo pacman -Syy


====MOD: Use specific protocols (prioritized)====
====CUSTOMIZE: Use specific protocols (prioritized)====
  sudo pacman-mirrors -aPhttps,http && sudo pacman -Syy
  sudo pacman-mirrors -aPhttps,http && sudo pacman -Syy


====MOD: Use all protocols====
====CUSTOMIZE: Permanently switch branch and use German mirrors====
  sudo pacman-mirrors -aPall && sudo pacman -Syy
sudo pacman-mirrors -cGermany -aB unstable && sudo pacman -Syy
 
====CUSTOMIZE: Permanently switch branch and use German mirrors with https====
sudo pacman-mirrors -cGermany -aB unstable -P https && sudo pacman -Syy
 
====RESET: Revert all changes ====
  sudo pacman-mirrors -c all -aP all && sudo pacman -Syy


==Overview==
==Overview==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.