archlinux pkg install code example Example 1: update package repository arch sudo pacman -Syy Example 2: install program archlinux pacman -S <package_name>