{"id":24045,"date":"2017-10-31T08:10:51","date_gmt":"2017-10-31T13:10:51","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=24045"},"modified":"2022-12-16T06:30:50","modified_gmt":"2022-12-16T12:30:50","slug":"list-all-installed-packages-with-apt-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/","title":{"rendered":"List All Installed Packages with apt on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure id=\"attachment_28683\" aria-describedby=\"caption-attachment-28683\" style=\"width: 732px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"size-full wp-image-28683\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\" alt=\"List All Installed Packages with apt on Debian 9\" width=\"742\" height=\"371\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><figcaption id=\"caption-attachment-28683\" class=\"wp-caption-text\">List All Installed Packages with apt on Debian 9<\/figcaption><\/figure>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-28684\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/debian-list-installed-packages.jpg\" alt=\"debian list installed packages\" width=\"101\" height=\"124\" \/> In this tutorial, we are going to provide you with step-by-step instructions on <strong>how to list all installed packages with apt on\u00a0Debian 9<\/strong>. The apt command is a simple, yet powerful command-line tool, used for performing operations such as an installation of new software packages, upgrade of existing software packages, updating of the package list index, listing the installed and available packages and even upgrading the entire Debian based system.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69c4b510aaada\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><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><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69c4b510aaada\"  aria-label=\"Toggle\" \/><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:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#1-List-all-installed-packages-on-Debian\" >1. List\u00a0all installed packages on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#2-List-specific-software-package-on-Debian\" >2. List\u00a0specific software package on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#3-List-installed-packages-by-package-name-on-Debian\" >3. List installed packages by package name on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#4-List-specific-installed-package-details-on-Debian\" >4. List\u00a0 specific installed package details on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#5-List-all-manually-installed-packages-on-Debian\" >5. List\u00a0all manually installed packages on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#6-List-all-upgradeable-OS-packages-on-Debian\" >6. List\u00a0\u00a0all upgradeable OS packages on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#7-List-all-available-versions-on-Debian\" >7. List all available versions on Debian<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#8-List-both-the-installed-packages-and-information-on-available-package-versions\" >8. List\u00a0both the installed packages and information on available package versions<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-List-all-installed-packages-on-Debian\"><\/span>1. List\u00a0all installed packages on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to list all installed packages on a <a href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">server<\/a> with Debian 9 installed on it, we can use the &#8216;apt list&#8217; command:<\/p>\n<pre>apt list --installed<\/pre>\n<p>The output will be a long list of installed packages, so it will be easier to read if we use the less command:<\/p>\n<pre>apt list --installed | less<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-List-specific-software-package-on-Debian\"><\/span>2. List\u00a0specific software package on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We can search for a specific software package or group of packages installed on the server, using the grep command. For example, to get a list of all PHP packages installed on the server, we can use the following command-line command:<\/p>\n<pre>apt list --installed | grep -i php<\/pre>\n<p>This command will list all the packages that have string php within their name.<\/p>\n<pre>libapache2-mod-php\/stable,now 1:7.0+49 all [installed]\r\nlibapache2-mod-php7.0\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp\/stable,now 1:7.0+49 all [installed]\r\nphp-cli\/stable,now 1:7.0+49 all [installed]\r\nphp-common\/stable,now 1:49 all [installed]\r\nphp-curl\/stable,now 1:7.0+49 all [installed]\r\nphp-gd\/stable,now 1:7.0+49 all [installed]\r\nphp-json\/stable,now 1:7.0+49 all [installed]\r\nphp-mcrypt\/stable,now 1:7.0+49 all [installed]\r\nphp-mysql\/stable,now 1:7.0+49 all [installed]\r\nphp-readline\/stable,now 1:7.0+49 all [installed]\r\nphp7.0\/stable,now 7.0.19-1 all [installed,automatic]\r\nphp7.0-cli\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-common\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-curl\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-gd\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-json\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-mcrypt\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-mysql\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-opcache\/stable,now 7.0.19-1 amd64 [installed,automatic]\r\nphp7.0-readline\/stable,now 7.0.19-1 amd64 [installed,automatic]<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-List-installed-packages-by-package-name-on-Debian\"><\/span>3. List installed packages by package name on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We can search for a specific package by supplying the package name, or a part of the package name as an argument:<\/p>\n<pre>apt list sendmail\r\nListing... Done\r\nsendmail\/stable,now 8.15.2-8 all [installed]<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-List-specific-installed-package-details-on-Debian\"><\/span>4. List\u00a0 specific installed package details on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to view specific installed package details, use the &#8216;apt show &#8216; command:<\/p>\n<pre>apt show php7.0-mysql<\/pre>\n<p>Package: php7.0-mysql<br \/>\nVersion: 7.0.19-1<br \/>\nPriority: optional<br \/>\nSection: php<br \/>\nSource: php7.0<br \/>\nMaintainer: Debian PHP Maintainers &lt;pkg-php-maint@lists.alioth.debian.org&gt;<br \/>\nInstalled-Size: 489 kB<br \/>\nProvides: php-mysqli, php-mysqlnd, php-pdo-mysql, php7.0-mysqli, php7.0-mysqlnd, php7.0-pdo-mysql<br \/>\nDepends: php-common (&gt;= 1:35), ucf, php7.0-common (= 7.0.19-1), libc6 (&gt;= 2.15)<br \/>\nHomepage: http:\/\/www.php.net\/<br \/>\nDownload-Size: 124 kB<br \/>\nAPT-Manual-Installed: no<br \/>\nAPT-Sources: http:\/\/httpredir.debian.org\/debian stretch\/main amd64 Packages<br \/>\nDescription: MySQL module for PHP<br \/>\nThis package provides the MySQL module(s) for PHP.<br \/>\n.<br \/>\nPHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used<br \/>\nan open source general-purpose scripting language that is especially suited<br \/>\nfor web development and can be embedded into HTML.<\/p>\n<p>There is no need to run any of these commands as the root user, so no sudo or any other variants are necessary here.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5-List-all-manually-installed-packages-on-Debian\"><\/span>5. List\u00a0all manually installed packages on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To get a list of all manually installed packages, use the following command-line command:<\/p>\n<pre>zcat \/var\/log\/apt\/history.log.*.gz | cat - \/var\/log\/apt\/history.log | grep -Po '^Commandline: apt-get install (?!.*--reinstall)\\K.*'<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-List-all-upgradeable-OS-packages-on-Debian\"><\/span>6. List\u00a0\u00a0all upgradeable OS packages on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To list the upgradeable OS packages, use:<\/p>\n<pre>sudo apt-get update \r\napt list upgradeable | less<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-List-all-available-versions-on-Debian\"><\/span>7. List all available versions on Debian<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To list all available versions, use the following command:<\/p>\n<pre>apt list --all-versions | less<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"8-List-both-the-installed-packages-and-information-on-available-package-versions\"><\/span>8. List\u00a0both the installed packages and information on available package versions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Another useful utility for listing both the installed packages and information on available package versions which comes with a specific Debian based Linux distribution is apt-show-versions.<\/p>\n<p>The installation of apt-show-versions package is quite simple:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get install apt-show-versions<\/pre>\n<p>Example:<\/p>\n<pre>apt-show-versions dovecot-imapd\r\ndovecot-imapd:amd64\/stretch 1:2.2.27-3+deb9u1 uptodate\r\n\r\nIf you would like to <a href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-ubuntu\/\">list all packages with apt on Ubuntu 16.04<\/a>, <a href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-ubuntu\/\">please click here.<\/a><\/pre>\n<hr \/>\n<pre><\/pre>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-28685\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/10\/list-installed-packages-debian.jpg\" alt=\"list installed packages debian \" width=\"101\" height=\"124\" \/>Of course, you don\u2019t have to <strong>List All Installed Packages with apt on Debian 9<\/strong> if you use one of our <a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to help you with this. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to provide you with step-by-step instructions on how to list all installed packages with &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"List All Installed Packages with apt on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#more-24045\" aria-label=\"Read more about List All Installed Packages with apt on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28683,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[1522,1577,1620],"class_list":["post-24045","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","tag-apt","tag-debian-9","tag-list-packages","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>List All Installed Packages with apt on Debian 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"List All Installed Packages with apt on Debian 9 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"List All Installed Packages with apt on Debian 9\" \/>\n<meta property=\"og:description\" content=\"List All Installed Packages with apt on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-31T13:10:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-16T12:30:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"371\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"List All Installed Packages with apt on Debian 9\",\"datePublished\":\"2017-10-31T13:10:51+00:00\",\"dateModified\":\"2022-12-16T12:30:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\"},\"wordCount\":561,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\",\"keywords\":[\"apt\",\"debian 9\",\"list packages\"],\"articleSection\":[\"Tips and Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\",\"name\":\"List All Installed Packages with apt on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\",\"datePublished\":\"2017-10-31T13:10:51+00:00\",\"dateModified\":\"2022-12-16T12:30:50+00:00\",\"description\":\"List All Installed Packages with apt on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg\",\"width\":742,\"height\":371,\"caption\":\"List All Installed Packages with apt on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List All Installed Packages with apt on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RoseHosting\",\"https:\/\/x.com\/rosehosting\",\"https:\/\/www.linkedin.com\/in\/rosehosting\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\/\/www.rosehosting.com\",\"https:\/\/www.facebook.com\/rosehosting.helpdesk\"],\"url\":\"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"List All Installed Packages with apt on Debian 9 | RoseHosting","description":"List All Installed Packages with apt on Debian 9 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"List All Installed Packages with apt on Debian 9","og_description":"List All Installed Packages with apt on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2017-10-31T13:10:51+00:00","article_modified_time":"2022-12-16T12:30:50+00:00","og_image":[{"width":742,"height":371,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"List All Installed Packages with apt on Debian 9","datePublished":"2017-10-31T13:10:51+00:00","dateModified":"2022-12-16T12:30:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/"},"wordCount":561,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg","keywords":["apt","debian 9","list packages"],"articleSection":["Tips and Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/","url":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/","name":"List All Installed Packages with apt on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg","datePublished":"2017-10-31T13:10:51+00:00","dateModified":"2022-12-16T12:30:50+00:00","description":"List All Installed Packages with apt on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/List-All-Installed-Packages-with-apt-on-Debian-9.jpg","width":742,"height":371,"caption":"List All Installed Packages with apt on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/list-all-installed-packages-with-apt-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"List All Installed Packages with apt on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=24045"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24045\/revisions"}],"predecessor-version":[{"id":44388,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/24045\/revisions\/44388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28683"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=24045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=24045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=24045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}