Skip to content
  • Whois
  • Certificates
  • Contact
logo
  • Whois
  • Certificates
  • Contact
  • Whois
  • Certificates
  • Contact
Linux, Ubuntu

apt-get list installed | List All Installed Packages with apt on Ubuntu – RoseHosting

List All Installed Packages with apt on Ubuntu

List All Installed Packages with apt on Ubuntu, step by step tutorial. Apt is a command-line interface that allows you to perform actions such as installing new software packages, removing unnecessary software packages, updating the existing software packages, searching for specific software packages etc. on a Linux VPS running Debian as an operating system or a Debian-based Linux distributions like Ubuntu. In this tutorial, we will show you how to list all installed packages with apt on Ubuntu (show all installed software on your VPS). Listing All Installed Packages with apt on Ubuntu is an easy task if you follow our step by step guide bellow.

If you’d like to list all installed packages on your CentOS VPS, then check our yum tutorial.

1. List the installed software packages on Ubuntu

ubuntu list packages

First of all, connect to your Linux server via SSH. To list the installed software packages on your machine you can use the following command:

1
sudo apt list --installed

The output of the command will be very similar to the following one, depending on which packages are currently installed:

1
2
3
4
5
6
7
8
9
10
11
12
Listing...
acl/xenial,now 2.2.52-3 amd64 [installed]
adduser/xenial,xenial,now 3.113+nmu3ubuntu4 all [installed]
apache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
apache2-bin/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed,automatic]
apache2-data/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all [installed,automatic]
apache2-doc/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all [installed]
apache2-utils/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
apparmor/xenial-updates,now 2.10.95-0ubuntu2.5 amd64 [installed,automatic]
apt/xenial-updates,now 1.2.19 amd64 [installed]
apt-utils/xenial-updates,now 1.2.19 amd64 [installed]
...

2. Use the LESS program

To easily read the entire output you can use the less program.

1
sudo apt list --installed | less

3. Use the GREP Command

You can look for a specific package through the output using the grep program.

1
sudo apt list --installed | grep -i apache

4. List all packages that include Apache

The output from the above command will list all packages that include apache in their names.

1
2
3
4
5
6
7
8
9
apache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
apache2-bin/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed,automatic]
apache2-data/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all [installed,automatic]
apache2-doc/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all [installed]
apache2-utils/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
libapache2-mod-php/xenial,xenial,now 1:7.0+35ubuntu6 all [installed,automatic]
libapache2-mod-php7.0/xenial-updates,now 7.0.13-0ubuntu0.16.04.1 amd64 [installed,automatic]
libapache2-mod-security2/xenial,now 2.9.0-1 amd64 [installed]
libapache2-modsecurity/xenial,xenial,now 2.9.0-1 all [installed]

Apt supports patterns to match package names and options to list installed (--installed) packages, upgradeable (--upgradeable) packages or all available (--all-versions) package versions.

5. Use the DPKG program

Another alternative that you can use to list the installed software packages on your Ubuntu VPS is the dpkg command.

1
sudo dpkg -l

The output of the command will provide you with information such as the name of the package, version, architecture and short description about the package. Of course, you can use the grep program again to search for a specific package.

1
sudo dpkg -l | grep -i apache

The output should look like the one below:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ii  apache2                       2.4.18-2ubuntu3.1                     amd64        Apache HTTP Server
ii  apache2-bin                   2.4.18-2ubuntu3.1                     amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                  2.4.18-2ubuntu3.1                     all          Apache HTTP Server (common files)
ii  apache2-doc                   2.4.18-2ubuntu3.1                     all          Apache HTTP Server (on-site documentation)
ii  apache2-utils                 2.4.18-2ubuntu3.1                     amd64        Apache HTTP Server (utility programs for web servers)
rc  apache2.2-common              2.2.22-6ubuntu5.1                     amd64        Apache HTTP Server common files
ii  libapache2-mod-php            1:7.0+35ubuntu6                       all          server-side, HTML-embedded scripting language (Apache 2 module) (default)
rc  libapache2-mod-php5           5.5.9+dfsg-1ubuntu4.16                amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-php7.0         7.0.13-0ubuntu0.16.04.1               amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-security2      2.9.0-1                               amd64        Tighten web applications security for Apache
ii  libapache2-modsecurity        2.9.0-1                               all          Dummy transitional package
ii  libapr1:amd64                 1.5.2-3                               amd64        Apache Portable Runtime Library
ii  libaprutil1:amd64             1.5.4-1build1                         amd64        Apache Portable Runtime Utility Library
ii  libaprutil1-dbd-sqlite3:amd64 1.5.4-1build1                         amd64        Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libaprutil1-ldap:amd64        1.5.4-1build1                         amd64        Apache Portable Runtime Utility Library - LDAP Driver

apt get list installed packages

Source: apt-get list installed | List All Installed Packages with apt on Ubuntu by RoseHosting

 

 

 

Share this:

  • Twitter
  • Facebook
  • Reddit
  • Email
  • Print
Written by Christian Nel in August 4, 2018
Tagged : apt list apt-get dpkg ubuntu

Beginners Guide to Installing, Using, and Configuring Net-SNMP – Part 2 – Himanshu Arora

The Fixup Protocol – Shoaib Merchant

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Your browser is not supported for the Live Clock Timer, please visit the Support Center for support.

Creative Commons License

Recent Posts

  • Where are the AnyConnect Profiles located? – cocheno.com
  • Generating keys using OpenSSL – yubico.com
  • The Fixup Protocol – Shoaib Merchant
  • apt-get list installed | List All Installed Packages with apt on Ubuntu – RoseHosting
  • Beginners Guide to Installing, Using, and Configuring Net-SNMP – Part 2 – Himanshu Arora

Categories

  • CentOS
  • Cisco
  • Encryption
  • General
  • Linux
  • Nagios
  • SNMP
  • Ubuntu
  • Windows
My Tweets
themeforest
  • Home
  • Disclaimer
  • Sitemap
Namecheap.com

RSS TEKTHING

  • Ryzen 3000 Release Date! KEF LSX, SVS Prime Wireless, Edifier S1000DB! Travel Tripod by Peak Design! -- TekThing 231 May 31, 2019
    Ryzen 3000, and Intel’s 5GHz all the time CPU, Peak Design’s Travel Tripod, KEF LSX, SVS Prime Wireless, Edifier S1000DB powered speakers, and more, in TekThing episode 231! All that and more in TekThing episode 231 with Patrick Norton and Shannon Morse! All the shownotes and links for episode 231!
  • OnePlus 7 Pro Hands On, New AMD NAVI GPUs, Anker Soundcore Liberty Lite Review -- TekThing 230 May 23, 2019
    OnePlus 7 Pro Review! New AMD NAVI GPUs at Computex Next week??? Anker Soundcore Liberty Lite wireless earbuds, Ransomeware STILL has Baltimore shut down, ServoSocks and other shiny things from MakerFaire 2019! All that and more in TekThing episode 230 with Patrick Norton and Shannon Morse! All the shownotes and links for episode 230!
  • Camera Battle: Pixel 3a vs Pixel! Best Antivirus, Zombieload Attacks Intel CPUs, Tech Travel Gear! -- TekThing 229 May 16, 2019
    Pixel 3a: Is this the best camera phone you can buy for $400??? Zombieload attacks Intel CPUs. “It’s 2019. Do I really need to run Antivirus???” (Yes.) Travel gear upgrade: new cables mean faster charging! We have a lot to learn about Linux Gaming! All that and more in TekThing episode 229 with Patrick Norton […]
Copyright © 2017 privateghost.net | All rights reserved.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.