vmdztw
Last Updated: February 25, 2016
·
659
· nicolaslazartekaqui
Img 3566

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

Say Thanks
Respond

6 Responses
Add your response

7082
Dsc 0105 0

Any advance tips for backing setting?

over 1 year ago ·
7092
$ dpkg --get-selections > list.txt
bash: dpkg: command not found

Sorry, had to do that ;)

over 1 year ago ·
7100
Img 3566

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

over 1 year ago ·
7101
Img 3566

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

over 1 year ago ·
7102

Yep, it was to point out your article should be rather named "Debian-like - Creating a list of all installed packages" ;)

I have a debian-like (mint) on my laptop. My desktop and servers are running gentoo.

over 1 year ago ·
7103
Img 3566

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

over 1 year ago ·
Filed Under