Ubuntu and all other distributions from the Debian ecosystem use the package manager apt instead of yum.
Therefore, you can find its logs inside the directory /var/log/apt.
Most important is the history.log file in that location, which briefly logs all package operations (installed, upgraded, removed packages...). The other one is term.log, which logs the complete terminal output of all apt invocations.
Note that due to log rotation, old log files will be regularly (about once per month) compressed and renamed by appending an index number (and the compression ending .gz), so that the highest number indicates the oldest compressed log. Example: history.log.3.gz
On Ubuntu the high-level package manager is APT. There's a directory
/var/log/apt
which containswhich lists APT commands, who ran them, and what was installed, upgraded or removed.
and
which logs the output of APT commands.
The lower level package manager is
dpkg
. In the fileYou can see package status updates made by
dpkg
.If a log is empty, it has been rotated. Look for files like
dpkg.log.1
or a.gz
file (readable withzless
) - these are older logs./var/log/apt
contains the log entries concerning packages installed byapt
on Ubuntu.There are two sets of entries,
history
, which shows a list of packages and the actions taken:and
term
, which shows the output of the terminal commands that were processed.Ubuntu and all other distributions from the Debian ecosystem use the package manager
apt
instead ofyum
.Therefore, you can find its logs inside the directory
/var/log/apt
.Most important is the
history.log
file in that location, which briefly logs all package operations (installed, upgraded, removed packages...). The other one isterm.log
, which logs the complete terminal output of allapt
invocations.Note that due to log rotation, old log files will be regularly (about once per month) compressed and renamed by appending an index number (and the compression ending
.gz
), so that the highest number indicates the oldest compressed log. Example:history.log.3.gz