0

I'm looking for a way to show the list of the installed softwares ordered from newest to oldest.

So far I know only how to show the list of installed softwares:

apt list --installed

or:

apt list -i
Gennaro Arguzzi
  • 680
  • 2
  • 9
  • 25
  • Does this answer your question? [How to get list of installed packages with installation date?](https://askubuntu.com/questions/1087998/how-to-get-list-of-installed-packages-with-installation-date) – Kulfy Jul 22 '20 at 17:24
  • Hello @Kulfy I run the command: zgrep 'install ' /var/log/dpkg.log* | sort | cut -f1,2,4 -d' ' but the output is quite weird because there aren't the softwares I installed today and in the previous days (e.g. gocr, texlive-extra-utils, okular etc.) – Gennaro Arguzzi Jul 22 '20 at 17:44
  • It should be there. The output doesn't seem to be sorted on the basis of date. So, your question is certainly not a duplicate. – Kulfy Jul 22 '20 at 18:11

1 Answers1

0

not an apt command, but you can find the history of your installs in /var/log/apt/history.log

For scripts and methods to generate a sorted list, I suggest you take a look at the following question: List packages on an apt based system by installation date.

bobmorane
  • 7
  • 1
  • 2
  • Hello @bobmorane thank you for your suggestion; I'm looking for something more orderly..the file history.log is a messy – Gennaro Arguzzi Jul 22 '20 at 17:14
  • There is no internal apt database of what was installed when. Dpkg and Apt have no concept of time. Parsing the history is the ONLY way to find historical data. The linked thread (good find!) shows you how to make it less messy. – user535733 Jul 22 '20 at 18:24
  • Hello @user535733 is it possible to get my goal by using a third-party product? – Gennaro Arguzzi Jul 23 '20 at 07:36