I've been trying out Arch Linux again and the thing that always surprises me is pacman. The way it works seems so unintuitive to me coming from the apt, yum, and dnf worlds.
I know I will get it and it will become internalized but I just wonder what the designer was thinking when making the flags/commands.
-Syu, not subcommands likeinstall, but I think it's still better. You can do more at once.-Syypacman. I think it means downgrade, so the opposite of one y?pacman -S firefox, you might not get the newest Firefox version if your local database is outdated. For the latest, you'd needpacman -Sy firefox, which refreshes your database first, then installs Firefox.pacman -R firefoxjust removes Firefox from your systempacman -Ss firefoxsearches for any packages with "firefox" in the namepacman -Qs firefoxsearches for any installed package with "firefox" in the name-SSync makes no sense to me for install.-sSearch makes sense but I'm not sure why its lowercase-ymakes no sense for refreshing.-umakes sense but why lower case-QQuery makes sense but why upper case and query being local doesn't. Why not lowercase for local and upper for searching?pacman -U ~/firefox.tar.gzwill download all the dependencies for firefox specified in the tar.gz, but then install the version in your .tar.gz not the one in the sync db.