this post was submitted on 28 Mar 2026
13 points (100.0% liked)
Linux
64214 readers
501 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
There's probably a better way, but the way that works for me is
apt show <package>and then copying everything from the Recommended section into anapt installcommandEdit: people in forums are suggesting the simpler
apt install --reinstall --install-recommends <pkg>.I find this preferable because it means the recommended packages get marked as auto, which means an uninstall will automatically remove them.
On the other hand, it forces a redownload and install of
<package>which might be unwanted. If you want the best of both worlds, you're going to have to manually install the recommended packages, then also manuallyapt-mark auto <list of packages>—although that might make them immediately susceptible to anautoremove, so this might require some tweaking; I'll work it out when I have time.If you want to always install recommended packages, add
APT::Install-Recommends "1";to yourapt.conf(which just includes the--install-recommendsoption by default, behind the scenes)