Arch Linux - apt-get update equivalent command?
Note: I agree with @larsks' comment that the best source here is the Arch wiki.
For example, this wiki entry https://wiki.archlinux.org/index.php/Pacman/Rosetta covers the operations for pacman in depth for people who previously used ("coming from"): dnf (Red Hat/Fedora), apt (Debian/Ubuntu), zypper (SLES/openSUSE) or emerge (Gentoo).
From that document, apt update && apt upgrade
is equivelent to pacman -Syu
.
The equivalent of apt-get update
in Arch Linux is pacman -Syy
.
pacman -Syu
is equivalent to apt-get update && apt-get upgrade
.
Might as well make this complete if it stays...
pacman -S <package>
is apt-get install <package>