From http://unix.stackexchange.com/questions/288024/how-can-i-get-a-list-of-packages-that-i-have-installed-using-apt-get
This will give you a list of packages that have been installed, in the order that they were installed:
zgrep -h ' install ' /var/log/dpkg.log* | sort | awk '{print $4}'
However, only the last 12 months of
/var/log/dpkg.log* files are kept by default. To change this, edit /etc/logrotate.d/{apt,dpkg}. For example, change rotate 12 to rotate 1200 to keep the last 1200 months (100 years) worth - effectively forever, never delete the old logs. Use
dpkg to list all packages installed on a system: dpkg --get-selectionsballlalalala
No hay comentarios:
Publicar un comentario