Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 14945  / 3 Years ago, fri, august 13, 2021, 4:01:18

Can user list last installed packages by apt-get in terminal?



I need to know which last package I installed on Ubuntu 12.04.


More From » apt

 Answers
0

See /var/log/dpkg.log. Or do ...



less /var/log/dpkg.log


It will list all activity regarding packages.



More specific to installation:



grep installed /var/log/dpkg.log


It will list it like this:



2014-01-02 11:20:07 status half-installed libmodule-pluggable-perl 3.6-1
2014-01-02 11:20:07 status half-installed libemail-simple-perl 2.003-1
2014-01-02 11:20:07 status half-installed libemail-abstract-perl 2.134-1
2014-01-02 11:20:07 status half-installed libtime-piece-perl 1.11-2
2014-01-02 11:20:07 status half-installed libemail-date-perl 1.102-1
2014-01-02 11:20:07 status half-installed libmime-lite-perl 3.020-2ubuntu2
2014-01-02 11:20:08 status installed libmodule-pluggable-perl 3.6-1
2014-01-02 11:20:08 status installed libemail-simple-perl 2.003-1
2014-01-02 11:20:08 status installed libemail-abstract-perl 2.134-1
2014-01-02 11:20:08 status installed libtime-piece-perl 1.11-2
2014-01-02 11:20:08 status installed libemail-date-perl 1.102-1
2014-01-02 11:20:08 status installed libmime-lite-perl 3.020-2ubuntu2

[#27645] Sunday, August 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
imberst

Total Points: 370
Total Questions: 107
Total Answers: 123

Location: French Polynesia
Member since Tue, Jul 7, 2020
4 Years ago
imberst questions
;