How to find the history of updated packages by apt-get or aptitude?

How to find the history of updated packages by apt-get or aptitude?

The history is in log files of dpkg and apt:

/var/log/dpkg.log
/var/log/apt/history.log
/var/log/aptitude

To check the recently installed packages:

cat /var/log/dpkg.log | grep " install "

To list history of recently installed packages by apt-get:

cat /var/log/apt/history.log | grep " install "

To list history of recently installed packages by apt-get:

cat /var/log/aptitude | grep "[INSTALL]"

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *