sasha2002 Blog's

Just another blog from admin's

How to list all installed packages? —

root@backup_server /mnt/old_root/var/lib/dpkg/info # ls -la *.list | awk {'print $9'}| sed 's/.list//' >> /root/installed_app
Now this(/root/installed_app) contain all installed packages!


Categorised as: Linux



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.