iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.58k stars 146 forks source link

Fixing Installsection for Arch Part 2 - Electric Bogaloo :D #294

Closed Shadowphoenix closed 1 year ago

Shadowphoenix commented 1 year ago

Just a small Change in the pacman-commands:

Due to how fast Arch is progressing as a Rolling-Release AND Bleeding-Edge-Distribution, it is recommended to perform Packagelist-Updates and Package-Upgrades before installing new Software. "pacman -S nameofpackage" might try to install an outdated version of a package plus maybe outdated dependencies, potentially leading to mismatching Versions of dependencies shared with other explicitly installed packages or might - even worse - induce a state of only partially being up to date, which can make the hostsystem highly unstable/fragile. Instead one is supposed to run "pacman -Syu nameofpackage". This pulls the latest Softwarecatalogue from available Mirrors as well as then grabbing all the new updates available before installing the new package, preventing Versionmismatching - while even the ArchWiki occasionally uses pacman -S as code, afaik only -Syu is the recommended way of grabbing new software, ESPECIALLY if you havent updated your system until a few minutes before installing the new software.

iberianpig commented 1 year ago

Glad to hear that "pacman -Syu" seems to be a good! Thank you for your contribution.

Shadowphoenix commented 1 year ago

if you wanted to, you could even install all of the 3 dependencies in one command with pacman -Syu ruby libinput xdotool, making it a one-liner

Shadowphoenix commented 1 year ago

it will be better to do the pacman -Sy at the beginning and not on every package installation

hence my later suggestion of a oneliner - however, it wont really be slower if you run -Syu for each one, as usually there wont be new packages to download nor new updates to the Package-Catalogue.