Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer

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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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