I have recently installed some software on my Ubuntu machine using apt
command but I cannot find what software I have exactly installed.
Is there any way to fin the list of this recent installed packages?
Try this command
zcat -f /var/log/dpkg.log* | grep "\ install\ " | sort
It displays your recently installed packages.
I have tested it on my system. The output should look like this:
2022-12-07 15:14:39 install ruby2.7:amd64 <none> 2.7.0-5ubuntu1.6
2022-12-07 15:14:39 install ruby:amd64 <none> 1:2.7+1
2022-12-07 15:14:39 install ruby-minitest:all <none> 5.13.0-1
2022-12-07 15:14:39 install ruby-net-telnet:all <none> 0.1.1-2
2022-12-07 15:14:39 install ruby-power-assert:all <none> 1.1.7-1
2022-12-07 15:14:39 install ruby-test-unit:all <none> 3.3.5-1
2022-12-07 15:14:39 install ruby-xmlrpc:all <none> 0.3.0-2
2022-12-07 15:14:40 install lmodern:all <none> 2.004.5-6
2022-12-07 15:14:40 install preview-latex-style:all <none> 11.91-2ubuntu2
2022-12-07 15:14:40 install t1utils:amd64 <none> 1.41-3
2022-12-07 15:14:40 install tex-gyre:all <none> 20180621-3
2022-12-07 15:14:41 install texlive-base:all <none> 2019.20200218-1
2022-12-07 15:14:41 install texlive-binaries:amd64 <none> 2019.20190605.51237-3build2
2022-12-07 15:14:42 install texlive-fonts-recommended:all <none> 2019.20200218-1
2022-12-07 15:14:42 install texlive-latex-base:all <none> 2019.20200218-1
2022-12-07 15:14:43 install libfontbox-java:all <none> 1:1.8.16-2
2022-12-07 15:14:43 install libpdfbox-java:all <none> 1:1.8.16-2
2022-12-07 15:14:43 install texlive-latex-recommended:all <none> 2019.20200218-1
2022-12-07 15:14:44 install texlive-latex-extra:all <none> 2019.202000218-1
2022-12-07 15:14:44 install texlive-pictures:all <none> 2019.20200218-1
2022-12-07 15:14:45 install texlive-plain-generic:all <none> 2019.202000218-1
2022-12-07 15:14:46 install tipa:all <none> 2:1.3-20