You are not logged in.
As the subject says, what is the correct command to print installed packages?
pacman -Qqpacman -Qqepacman -QqetI mean, I understand the difference between those options, but if I want to backup my pacman packages to be installed in another machine, which is the correct way to do it?
Thanks
Offline
Probably pacman -Qqe is what you want.
Offline
Probably pacman -Qqe is what you want.
ok thanks, but could you please explain why?
I mean, why I need pacman -Qqe and not pacman -Qqet?
pacman -Qqet should print just packages I've installed explicitly right? Other packages that are installed as dependencies, should be installed again also if I install packages from the -Qqet list? Or am I missing something?
Offline
pacman -Qqe lists every package you explicitly installed by typing "pacman -S <package>". Some of those may be dependencies of packages you installed later, and they would get filtered by adding the "t". This means on a recovered system, packages you want may get accidentally uninstalled at some stage.
Offline