Arch Linux - apt-get update equivalent command?

…衆ロ難τιáo~ 提交于 2019-12-03 06:37:11

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>

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!