this post was submitted on 01 Oct 2025
23 points (87.1% liked)
Linux
58675 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 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No,
pacman -S firefox
will not update your firefox.pacman -Sy firefox
will update your firefox and nothing else.If you have done
pacman -Sy
once, then your list of packages and their versions gets updated.From then on, using
pacman -S <package>
on any package, whether or not it was already installed, will now get the new version of it.On the other hand, if you have not updated for long, then if you run
pacman -Su
to update, it will update nothing, because it looks at the old package list and compares it to installed packages and all of them match.If you were to use
pacman -Sy
and thenpacman -Su
, then it would do the update, similar topacman -Syu
.If you did
pacman -Sy
yesterday and then dopacman -Su
today, then it will update up to yesterday's packages and will ignore any updates from that point to today.This can be considered analogous to
apt update
andapt upgrade
.If you run
apt upgrade
withoutapt update
, you only upgrade upto the packages that you got until the lastapt update
.If arch used
apt
, then in this case, the recommendation would be for never useapt update
without usingapt upgrade
right after it.Isn't
pacman -Syu
the recommended way to update anyway? I have always used that o. EndeavourOS and hadn't any issues.Except for the recent nouveau nvidia driver :/
Yes, but it is also good to know why it is recommended.