You are not logged in.
I need some locale-related packages and drivers (fonts, input method, wi-fi adapter dkms driver, etc.) to use after installation.
It is a little bit bothering that I have to check these packages and configurations after re-install OS.
So I want to build some kind of automated post-process.
Would you please suggest any ideas?
Last edited by mrkc95 (2025-12-26 06:47:13)
Offline
Something like https://wiki.archlinux.org/title/Pacman … d_packages?
Offline
pacman -QeOffline
pacman -Qe
That command isn't all that useful for the stated purposes.
Offline
cryptearth wrote:pacman -QeThat command isn't all that useful for the stated purposes.
It's more useful than you seem to know. Though -Qqe is a more useful set of flags. This will print a list of ALL explicitly installed packages on your system. Then you just copy and paste that list as is into a new file and give it a name (pkslst.lst for example) and when you want to reinstall Arch Linux, simply run
sudo pacman -S --needed - < pkglst.lstThis will use the contents of that file as the input for pacman, thus installing every package in the list and their dependencies.
Offline
Which will fail the vast majority of the time, as most people will have some foreign package. The link to the wiki explains things instead of giving a single, nearly useless command, especially since it doesn't have quiet.
Last edited by Scimmia (2025-12-25 18:12:16)
Offline
Scimmia wrote:cryptearth wrote:pacman -QeThat command isn't all that useful for the stated purposes.
It's more useful than you seem to know. Though -Qqe is a more useful set of flags. This will print a list of ALL explicitly installed packages on your system. Then you just copy and paste that list as is into a new file and give it a name (pkslst.lst for example) and when you want to reinstall Arch Linux, simply run
sudo pacman -S --needed - < pkglst.lstThis will use the contents of that file as the input for pacman, thus installing every package in the list and their dependencies.
Thanks! I'll try this at home.
Offline
And when that fails, go read the wiki.
Offline