Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Linux > Software > Backup of installed packages on Debian/Ubuntu

Backup of installed packages on Debian/Ubuntu

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

Also in this section

  1. Backup of installed packages on Debian/Ubuntu
  2. Capture video of a linux desktop using ffmpeg
  3. How to make Latex under PUNBB forums using mimetex?