Last Updated: September 09, 2019
·
970
· nicolaslazartekaqui

Debian-like - Creating a list of all installed packages

# dpkg --get-selections > list.txt

if you want to use this list to install the packages, make

# dpkg --set-selections < debianlist.txt

# sudo apt-get -u dselect-upgrade

important

dpkg is the software at the base of the Debian package management system

4 Responses
Add your response

Any advance tips for backing setting?

over 1 year ago ·

@drabiter you can save your settings backing up the directory /etc

over 1 year ago ·

@oelmekki dpkg is the software at the base of the Debian package management system, what linux distro you use? (:

over 1 year ago ·

@oelmekki oh, thanks for the suggestion i changed the title of protip

over 1 year ago ·