Does Debian or Ubuntu have a means of logging apt/aptitude commands?

I could also ask the same about yum commands in Redhat?

Do they have a history file?

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

Yes, you should look at /var/log/apt/history.log. But you might find more details in /var/log/dpkg.log.

link|improve this answer
feedback

You'll find quite a bit of apt logs under /var/log/apt/

(Not exactly about commands being run. More about actions being taken.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.