Difference between revisions of "Pacman-mirrors"
Views
Actions
Namespaces
Variants
Tools
Added some extra sample commands
imported>Fhdk |
imported>Fhdk (Added some extra sample commands) |
||
Line 35: | Line 35: | ||
pacman-mirrors -aG | pacman-mirrors -aG | ||
==== | ====DEFAULT: Mirrors for your country only==== | ||
sudo pacman-mirrors --geoip && sudo pacman -Syy | sudo pacman-mirrors --geoip && sudo pacman -Syy | ||
==== | ====DEFAULT: create a mirrorlist==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -f[number] && sudo pacman -Syy | ||
Optional a number can be given to limit the number of mirrors in the mirrorlist | |||
==== | ====DEFAULT: Limit to 5 mirrors===== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -f 5 && sudo pacman -Syy | ||
====DEFAULT: Temporarily switch to unstable branch==== | |||
sudo pacman-mirrors -b unstable && sudo pacman -Syy | |||
==== | ====DEFAULT: Switch back to stable branch==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -b stable && sudo pacman -Syy | ||
==== | ====CUSTOMIZE: Customizing mirror pool==== | ||
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. | |||
==== | ====CUSTOMIZE: Customize mirror pool by countries==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy | ||
==== | ====CUSTOMIZE: Customizing the mirror pool by interactive selection==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -id && sudo pacman -Syy | ||
==== | ====CUSTOMIZE: Use specific protocols (prioritized)==== | ||
sudo pacman-mirrors -aPhttps,http && sudo pacman -Syy | sudo pacman-mirrors -aPhttps,http && sudo pacman -Syy | ||
==== | ====CUSTOMIZE: Permanently switch branch and use German mirrors==== | ||
sudo pacman-mirrors - | 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== |