How to list previously installed packages from the apt history.

This is how to get information about recently installed packages on Ubuntu. This is looking at the lowlatency package I just installed. 4.4 Thu Jun 04 jason@Yog-Sothoth 0: $ grep "lowlatency" /var/log/apt/history.log | sed "s/ /\n/gi"; Commandline: apt install linux-image-5.3.0-24-lowlatency Install: linux-image-5.3.0-24-lowlatency:amd64 (5.3.0-24.26~18.04.2), linux-modules-5.3.0-24-lowlatency:amd64 (5.3.0-24.26~18.04.2, automatic) Commandline: apt-get install –reinstall linux-image-5.3.0-24-lowlatency Reinstall: linux-image-5.3.0-24-lowlatency:amd64 (5.3.0-24.26~18.04.2) Commandline: … Read more

How to list certain installed packages on Debian Linux.

The dpkg command can be used to list all installed packages. I wanted to list the language packs installed with Firefox. So the command below is perfect. jason@Yog-Sothoth:~$ dpkg –list firefox-locale-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================-====================-====================-================================================================== ii firefox-locale-de 75.0+build3-0ubuntu0 amd64 German language pack for Firefox ii firefox-locale-en … Read more

How to list all gnome or Firefox packages on your Debian or Ubuntu system.

This command will list all Gnome packages that are currently installed on your Debian system and can be uninstalled. 4.4 Mon Sep 10 jason@Yog-Sothoth 0: $ dpkg –get-selections | grep gnome | cut -f 14.4 Mon Sep 10 jason@Yog-Sothoth 0: $ dpkg –get-selections | grep gnome | cut -f 1 This example lists all Doom … Read more

How to list every installed package with the apt command on Debian.

The apt package manager allows management of all installed packages and the installation of new software on a Linux system. It also allows the retrieval of information about installed packages. To list all installed packages, run this command. This does not require sudo or su. jason$ apt list –installedjason$ apt list –installed This will be … Read more

How to review package installation logs on Linux Mint Debian Edition.

The cat /var/log/apt/term.log command will allow you to retrieve information about a package installation; you may then review the installation process and see if anything went wrong during the installation process. In the example below, I am reviewing an installation of Midnight Commander. jason@darkstar:~$ cat /var/log/apt/term.log | grep mc Selecting previously unselected package libxdmcp6:amd64. Preparing … Read more