{"id":16598,"date":"2024-01-22T16:40:12","date_gmt":"2024-01-22T13:40:12","guid":{"rendered":"https:\/\/infinitydomainhosting.com\/kb\/?p=16598"},"modified":"2025-09-24T19:10:20","modified_gmt":"2025-09-24T16:10:20","slug":"apt-list-of-installed-packages","status":"publish","type":"post","link":"https:\/\/infinitydomainhosting.com\/kb\/apt-list-of-installed-packages\/","title":{"rendered":"APT List of Installed Packages"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/infinitydomainhosting.com\/kb\/apt-list-of-installed-packages\/#APT_List_of_Installed_Packages_A_Complete_Overview\" >APT List of Installed Packages: A Complete Overview<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/infinitydomainhosting.com\/kb\/apt-list-of-installed-packages\/#List_of_Installed_Packages_Using_Apt\" >List of Installed Packages Using Apt<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/infinitydomainhosting.com\/kb\/apt-list-of-installed-packages\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/infinitydomainhosting.com\/kb\/apt-list-of-installed-packages\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"APT_List_of_Installed_Packages_A_Complete_Overview\"><\/span>APT List of Installed Packages: A Complete Overview<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Apt, also called Advanced Package Tool, is <a href=\"https:\/\/infinitydomainhosting.com\/kb\/the-ultimate-guide-to-amazon-web-hosting-everything-you-need-to-know\/\">a<\/a> crucial system for managing packages used across various <a href=\"https:\/\/www.hostinger.com\/tutorials\/best-linux-distro\" target=\"_new\" rel=\"noopener\">Linux operating systems<\/a>. Its primary function is to simplify the process of installing, upgrading, and removing software packages. Apt can efficiently handle software dependencies and automatically install them, making the user experience straightforward. One of its key features includes the capability of listing all installed packages on a system.<\/p>\n<p>In this comprehensive guide, we will explore how to use Apt to list all installed packages on a <a href=\"https:\/\/www.hostinger.com\/tutorials\/linux-commands\" target=\"_new\" rel=\"noopener\">Linux<\/a> system. Additionally, we will tackle common questions through an FAQ section to enhance understanding of this topic.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"List_of_Installed_Packages_Using_Apt\"><\/span>List of Installed Packages Using Apt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To view the list of all installed packages with Apt, simply open a terminal window and run the following command:<br \/>\n&#8220;`bash<br \/>\napt list &#8211;installed<br \/>\n&#8220;`<br \/>\nThis command will display a detailed list of all installed packages on the system, showing the package <a href=\"https:\/\/www.hostinger.com\/domain-name-search\" target=\"_new\" rel=\"noopener\">name<\/a>, version, and a brief description for each package. Given that the list can be extensive, finding a specific package may require some effort.<\/p>\n<p>To simplify the search process, you can use the <a href=\"https:\/\/www.hostinger.com\/tutorials\/grep-command-in-linux-useful-examples\/\" target=\"_new\" rel=\"noopener\"><code>grep<\/code><\/a> command to locate a particular package. For example, to search for a package named &#8220;example,&#8221; you can use the following command:<br \/>\n&#8220;`bash<br \/>\napt list &#8211;installed | grep example<br \/>\n&#8220;`<br \/>\nThis command filters the list and displays only packages that match the search term &#8220;example.&#8221;<\/p>\n<p>If you want to save the list of installed packages to a file, you can redirect the output to a file using the following command:<br \/>\n&#8220;`bash<br \/>\napt list &#8211;installed &gt; installed_packages.txt<br \/>\n&#8220;`<br \/>\nThis command creates a file named &#8220;installed_packages.txt&#8221; in the current directory, containing the list of installed packages.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Q: Can I use Apt to list only a specific type of packages, such as libraries or applications?<\/strong><br \/>\nA: Yes, you can refine the installed packages list using the <code>apt list<\/code> command. For instance, to show only libraries that are installed, you can use the command:<br \/>\n&#8220;`bash<br \/>\napt list &#8211;installed | grep -i lib<br \/>\n&#8220;`<br \/>\nThis command will display installed packages containing the keyword &#8220;lib&#8221; in their names, usually indicating they are libraries.<\/p>\n<p><strong>Q: Is there a way to list the size of installed packages as well?<\/strong><br \/>\nA: Yes, you can use the <code>dpkg<\/code> command to reveal the size of installed packages. For example, to list the size of a package named &#8220;example,&#8221; use this command:<br \/>\n&#8220;`bash<br \/>\ndpkg -s example | grep &#8216;^Size&#8217;<br \/>\n&#8220;`<br \/>\nThis will show the size of the &#8220;example&#8221; package in bytes.<\/p>\n<p><strong>Q: Can I use Apt to list only manually installed packages?<\/strong><br \/>\nA: Absolutely, you can employ the <code>apt-mark<\/code> command to list manually installed packages. Manual installations refer to packages installed by user request rather than as dependencies. To list these packages, execute the command:<br \/>\n&#8220;`bash<br \/>\napt-mark showmanual<br \/>\n&#8220;`<br \/>\nThis command will provide a list of manually installed packages.<\/p>\n<p><strong>Q: How can I update the list of installed packages?<\/strong><br \/>\nA: Simply run the following command to update the list of installed packages:<br \/>\n&#8220;`bash<br \/>\napt update<br \/>\n&#8220;`<br \/>\nThis command updates the package lists for all repositories, including the list of installed packages.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This guide has covered the process of using Apt to list all installed packages on a Linux system. It has also addressed common questions in the FAQ section, providing solutions to typical issues and aiding in effective management of installed packages.<\/p>\n<p>By making use of the <code>apt list<\/code> command, users can easily view installed packages, search for specific packages, and save the list for future reference. Additionally, useful <a href=\"https:\/\/www.hostinger.com\/tutorials\/linux-commands\" target=\"_new\" rel=\"noopener\">commands<\/a> have been given for filtering the list of installed packages and determining package sizes.<\/p>\n<p>Apt proves to be a valuable tool for managing software packages on Linux systems. Understanding how to list installed packages using Apt equips users to manage software installations effectively and troubleshoot any arising issues.<\/p>\n<p>Whether you are new to Linux or an experienced user, mastering the use of Apt to list installed packages is essential. With this knowledge, users can efficiently manage their system&#8217;s software and address potential challenges effectively.<br \/>\n<!--KB_CAT_BLOCK--><\/p>\n<figure class=\"kb-cat-placeholder\" style=\"margin:1.75rem 0;display:block;\"><img src=\"https:\/\/infinitydomainhosting.com\/kb\/assets\/img\/cat-general.webp\" alt=\"APT List of Installed Packages\" loading=\"lazy\" decoding=\"async\" style=\"max-width:100%;height:auto;display:block;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,0.12);\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>APT List of Installed Packages: A Complete Overview Apt, also called Advanced Package Tool, is a crucial system for managing packages used&hellip;<\/p>\n","protected":false},"author":1,"featured_media":40722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[6185,6188,953,393],"class_list":["post-16598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","tag-apt","tag-installed","tag-list","tag-packages"],"_links":{"self":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/16598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/comments?post=16598"}],"version-history":[{"count":6,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/16598\/revisions"}],"predecessor-version":[{"id":43733,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/16598\/revisions\/43733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/media\/40722"}],"wp:attachment":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/media?parent=16598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/categories?post=16598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/tags?post=16598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}