Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

sudo dnf repoquery --qf "%{name}" --userinstalled > userinstalled.txt

will export a list with names of the packages - no release, version, or arch number.

That makes a restore pretty simple: dnf install $(cat userinstalled.txt)

sudo dnf repoquery --qf "%{name}" --userinstalled > userinstalled.txt

userinstalled.txt

will export a list with names of the userinstalled packages - no release, version, or arch number.

That makes a restore pretty simple: dnf install $(cat userinstalled.txt)

sudo dnf repoquery --qf "%{name}" --userinstalled > userinstalled.txt

will export a list with names of userinstalled packages - no release, version, or arch number.

That makes a restore pretty simple: dnf install $(cat userinstalled.txt)