Lib apache2-mod-security2/xenial,now 2.9.0-1 amd64 Lib apache2-mod-php/xenial,xenial,now 1:7.0+35ubuntu6 all apache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 The output from the above command will list all packages that include apache in their names. sudo apt list -installed | grep -i apache 4. You can look for a specific package through the output using the grep program. To easily read the entire output you can use the less program. The output of the command will be very similar to the following one, depending on which packages are currently installed: Listing.Īcl/xenial,now 2.2.52-3 amd64 Īdduser/xenial,xenial,now 3.113+nmu3ubuntu4 all Īpache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 Īpache2-bin/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 Īpache2-data/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all Īpache2-doc/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all Īpache2-utils/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 Īpparmor/xenial-updates,now 2.10.95-0ubuntu2.5 amd64 Īpt/xenial-updates,now 1.2.19 amd64 Īpt-utils/xenial-updates,now 1.2.19 amd64
To list the installed software packages on your machine you can use the following command: sudo apt list -installed First of all, connect to your Linux server via SSH.