rodrigosantosbr

[Fedora] Export/Restore installed packages

Feb 17th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

To export:

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

To restore:

dnf install $(cat userinstalled.txt)
Add Comment
Please, Sign In to add comment