export package
how can i export all package from linux system (fedora 23) to harddisk and import it in anther machine
how can i export all package from linux system (fedora 23) to harddisk and import it in anther machine
Hi:
It's not possible to do that, once the .rpm is installed it's no longer kept on the machine (by default, could be possible to keep all the packages, but that could require some extra work). But, what you could do is to list all the installed packages
sudo dnf list installed | cut -d" " -f1 | sort -u > my_packages.txt
and then use that list as input for dnf to install the same packages in the new box
cat my_packages.txt | while read package; do sudo dnf -y install $package; done
(the above line is not nice, and it's possible to improve its performance, but should do the trick quick and dirty ;) )
Make sure that you have installed/enabled the same repos in both machines (RPMFusion et al)
Regards
Asked: 2015-12-17 05:59:55 -0600
Seen: 75 times
Last updated: Dec 20 '15
How can I use "Spark" package after installing it? Can't find it anywhere
What is the process for submitting an application for inclusion in the main Fedora repositories?
Fedora 23 server - problem with software package installation
Offer an install software link in browser
Fedora 23 software packages not being installed