Difference between revisions of "Pacman-mirrors"
Views
Actions
Namespaces
Variants
Tools
→TL:DR
imported>Fhdk |
imported>Fhdk (→TL:DR) |
||
Line 24: | Line 24: | ||
==TL:DR== | ==TL:DR== | ||
=== | ===Commands=== | ||
All commands uses the available mirror pool. | |||
The mirror pool can be the default full mirror pool or a customized mirror pool. | |||
Commands for info do not require superuser - modifications do. | |||
====INFO: List available countries==== | |||
pacman-mirrors -l | |||
====INFO: What branch am I on===== | |||
pacman-mirrors -aG | |||
==== | ====MOD: Customizing mirror pool==== | ||
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==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -cGermany,France,Austria && sudo pacman -Syy | ||
====MOD: Customizing the mirror pool by interactive selection==== | |||
sudo pacman-mirrors -id && sudo pacman -Syy | |||
====MOD: create a mirrorlist==== | |||
sudo pacman-mirrors -f0 && sudo pacman -Syy | |||
The number can be changed to limit the number of mirrors in the mirrorlist | |||
====Temporarily switch to unstable branch==== | ====MOD: Limit to 5 mirrors===== | ||
sudo pacman-mirrors -f5 && sudo pacman -Syy | |||
====MOD: Temporarily switch to unstable branch==== | |||
sudo pacman-mirrors -b unstable && sudo pacman -Syy | sudo pacman-mirrors -b unstable && sudo pacman -Syy | ||
====Switch back to stable branch==== | ====MOD: Switch back to stable branch==== | ||
sudo pacman-mirrors -b stable && sudo pacman -Syy | sudo pacman-mirrors -b stable && sudo pacman -Syy | ||
==== | ====MOD: Permanently switch branch==== | ||
sudo pacman-mirrors -aB unstable && sudo pacman -Syy | |||
sudo pacman-mirrors - | |||
====Use specific protocols==== | ====MOD: Use specific protocols (prioritized)==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -aPhttps,http && sudo pacman -Syy | ||
====Use all protocols==== | ====MOD: Use all protocols==== | ||
sudo pacman-mirrors - | sudo pacman-mirrors -aPall && sudo pacman -Syy | ||
==Overview== | ==Overview== |