13
How to install recommended packages after installing the app(Linux mint)
(programming.dev)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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)