To find out when a package was installed or updated on a Debian or Ubuntu system, you can use the dpkg
command in the terminal.
The dpkg
command provides information about the packages installed on your system, including the installation date and time.
To see the installation date of a specific package, run the following command:
dpkg -s <package_name> | grep "Installed-Size"
Replace <package_name>
with the name of the package you want to check. The output will include information about the package, including the installation date and time.
To see the installation dates of all packages on your system, run the following command:
sudo dpkg --get-selections | awk '{print $1}' | xargs dpkg -s | grep "Installed-Size"
This will give you a list of all packages installed on your system, along with their installation dates and times.