Is it possible to get a list of packages that were most recently installed through apt-get?
|
Command to list recently installed packages that were installed via any method (
Example output:
You could run this command to list only the recently installed package names,
Command to list history of
Example output:
|
|||||||||||||||||||||
|
|
Ubuntu's Software Center shows whole history of all packages that were installed/upgraded/removed. Just click "History" at the bottom of the list at left. |
|||||||||||||
|
|
To see also older packages sorted by time of installation:
And for packages installed very long time ago:
|
|||||
|
All on one line; for command useSelect and print only the recently installed package-names, all on one line. To do so, change the most-voted answer to:
This results in a single line of package names.
Such a line can easily be added to a Example output
|
|||||||||
|
|
There is a package called wajig Check it out for the command line, it is the first thing I install now. Like aptitude, except that it works like you'd expect a command dispatcher to work. So really, it's not like aptitude. Commands below are just a small subset.
|
|||||
|
|
The following trick answers Aleksandr Dubinsky's request to limit this to manually-installed packages:
An alternative, showing more information, in chronological order, and accessing all available logs, is:
|
|||||||||||||||||||||
|
|
In addition to DoR's answer, for those who prefer a GUI, there is a File -> History menu item in Synaptic. |
|||||||||
|
|
Here is some shell to list dpkg installed files. (which should include all apt/aptitude/software center/synaptic installed packages)
This does not include install time/date info. But may be useful in determining any differences in packages installed from os install to current. |
||||
|
|
|
The problem with viewing the installation history in Software Centre or Synaptic is that it's hard to copy/paste the contents into an email (e.g. when talking with tech support!). The alternative is to view the contents of the log files in |
|||||
|
apt-mark showmanual | lessdoesn't do it? – GKFX Jul 13 '16 at 18:44comm -12 a bwithaa sorted copy ofapt-mark showmanualandba sorted list from one of the answers below. – GKFX Jul 15 '16 at 10:26