this post was submitted on 15 Aug 2023
106 points (98.2% liked)
Linux
48674 readers
543 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What bad experience have you had with pacman? My favourite thing about it is that it is pretty much the only package manager that has never failed me.
Well on the steam deck, updates will always fail until I reboot the device then try to update again. I also really don't like the syntax. It isn't intuitive, and I can't memorize it because of that. For example, I'm not sure why
-S
meansinstall
. I remember install because that's the one I have used the most, but I can't remember what is equivalent toapt update
orapt upgrade
, and I'm not sure why they can't just use those terms. Why do I need to memorize arbitrary letters with captialization?I have no expierence with the steam deck, so dunno what's up with that. Never expierenced something like that on my PCs tho.
Yes, the flags can be unintuitive for beginners,
S
stands for sync, which will sync the package(s) specified thereafter with the remote repositories. If the packages aren"t installed it means installing them, if they are already installed it means updating them to the version that is the latest version in the remote repository. Full system update is done bypacman -Syu
, wherey
tells pacman to synchronize the package lists first andu
selects all packages that are older than the ones in these package lists for theS
.You can easily learn all that by using
fish
(orzsh
with a sufficient config) instead of bash. Then, you can enterpacman -
and hit TAB to get a list of allowed flags and a brief description. Choose one, hit TAB again and get a list of flags that go with the one you selected before, again with a description right out of the man-page. BTW, that works with a lot of command line programs and is imo almost necessary to get in touch with the shell.