math-linux.com
Home page > Linux > Software > Backup of installed packages on Debian/Ubuntu

Backup of installed packages on Debian/Ubuntu

Sunday 15 November 2009, by Nadir SOUALEM

You probably might have needed to backup and restore your installed packages on Debian/Ubuntu systems. Here is the solution !

To Backup

dpkg --get-selections > installed_packages.log

To Restore

dpkg --set-selections < installed_packages.log
apt-get dselect-upgrade

2 Forum messages

Reply to this article

SPIP | template | | Site Map | Follow-up of the site's activity RSS 2.0