{"id":528,"date":"2022-11-30T04:17:32","date_gmt":"2022-11-30T04:17:32","guid":{"rendered":"https:\/\/linuxsimply.com\/?p=528"},"modified":"2024-04-17T03:43:01","modified_gmt":"2024-04-17T03:43:01","slug":"apt-in-linux","status":"publish","type":"post","link":"https:\/\/linuxsimply.com\/apt-in-linux\/","title":{"rendered":"What is APT in Linux? [Installation, Usage &#038; More]"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>APT (<\/strong><strong>Advanced Package Tool)<\/strong> is a collection of tools used to install, update, remove, and otherwise manage software packages on Debian and its derivative operating systems.\u00a0In this article, you will get to know all the aspects and features of <strong>APT<\/strong> in <strong>Linux<\/strong>.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 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 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_Does_APT_Work\" >How Does APT Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_Install_Package_Using_APT\" >How to Install Package 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:\/\/linuxsimply.com\/apt-in-linux\/#How_to_Remove_Package_Using_APT\" >How to Remove Package Using APT?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#APT_Purge\" >APT Purge<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#APT_Autoremove\" >APT Autoremove<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_Update_Packages_Using_APT\" >How to Update Packages Using APT?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_Upgrade_Packages_Using_APT\" >How to Upgrade Packages Using APT?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#Upgrade_vs_Full_Upgrade\" >Upgrade vs Full Upgrade<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_List_Installed_Packages_Using_APT\" >How to List 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-10\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_Search_Package_Using_APT\" >How to Search Package Using APT?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#Show_Information_of_a_Package\" >Show Information of a Package<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#Fixed_%E2%80%9Capt_Command_Not_Found%E2%80%9D_in_Linux\" >Fixed: &#8220;apt Command Not Found&#8221; in Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#People_Also_Ask\" >People Also Ask<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#How_to_install_apt_on_Linux\" >How to install apt on Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#What_is_apt_format\" >What is apt format?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#Why_is_apt_used\" >Why is apt used?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#What_is_the_difference_between_APT_and_apt-get\" >What is the difference between APT and apt-get?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_Does_APT_Work\"><\/span>How Does APT Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">APT stands for <strong>Advanced Package Tool <\/strong>that is used for downloading, removing, or upgrading software packages in Linux. It is a powerful tool that can also be used with <strong>sudo<\/strong>, which lets us be the super user or sudo root user. APT works through the use of repositories, or special directories that hold collections of software packages.<\/p>\n<p style=\"text-align: justify;\">When <code class=\"\" data-line=\"\">apt-get update<\/code> is called, APT tries to connect to all specified repositories in the file and download information about those repositories what programs are available, and so on. It caches all retrieved data locally to use it later without making internet requests to the repository.<\/p>\n<p style=\"text-align: justify;\">Also the <code class=\"\" data-line=\"\">apt<\/code> is command is used to install, upgrade, or remove binaries as well as their configuration data files and dependencies 3. The apt-cache command is used to search for packages and display information about them.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Install_Package_Using_APT\"><\/span>How to Install Package Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The syntax of installing a package using APT is: <code class=\"\" data-line=\"\">sudo apt install &lt;package name&gt;<\/code>. For example, to install &#8220;ncal&#8221; package, run the below command:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt install ncal<\/code><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-571 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2.png\" alt=\"give password for using apt\" width=\"358\" height=\"67\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2.png 358w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-300x56.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-1024x192.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-764x143.png 764w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-1536x287.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-2048x383.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-801x150.png 801w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-100x19.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-1870x350.png 1870w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt2-788x147.png 788w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/>Provide the password and you will see the installation start.<\/p>\n<p style=\"text-align: justify;\">Now to check whether &#8220;ncal&#8221; is installed, run <code class=\"\" data-line=\"\">ncal<\/code>. This should give you the calendar of the running month. The terminal should show-<img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-569\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1.png\" alt=\"this is a picture of current calender month\" width=\"246\" height=\"251\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1.png 246w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-294x300.png 294w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-1004x1024.png 1004w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-767x783.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-1505x1536.png 1505w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-2007x2048.png 2007w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-147x150.png 147w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-100x102.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-343x350.png 343w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt1-788x804.png 788w\" sizes=\"(max-width: 246px) 100vw, 246px\" \/><\/p>\n<div class=\"su-note\"  style=\"border-color:#e5e5e5;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#ffffff;border-color:#ffffff;color:#333333;\">\n<p>To install multiple packages, write the package name separated by space. For example:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt install ncal teamviewer firefox<\/code><\/pre>\n<\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Remove_Package_Using_APT\"><\/span>How to Remove Package Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">The syntax of removing a package using APT is: <code class=\"\" data-line=\"\">sudo apt remove &lt;package name&gt;<\/code>. For example, to remove &#8220;ncal&#8221; package, run the below command:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt remove ncal<\/code><\/pre>\n<p>Now it will ask for confirmation. Type <strong>y <\/strong>and press <strong>ENTER<\/strong>.<br \/>\n<img decoding=\"async\" class=\"aligncenter wp-image-574 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5.png\" alt=\"removing ncal using apt\" width=\"762\" height=\"353\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5.png 762w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-300x139.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-1024x474.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-766x355.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-1536x712.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-2048x949.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-324x150.png 324w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-100x46.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-756x350.png 756w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt5-788x365.png 788w\" sizes=\"(max-width: 762px) 100vw, 762px\" \/>The output shows that &#8220;ncal&#8221; is removed.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"APT_Purge\"><\/span>APT Purge<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To remove the package and the configuration files too, use <code class=\"\" data-line=\"\">purge<\/code>. The syntax is:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt purge package<\/code><\/pre>\n<div class=\"su-note\"  style=\"border-color:#e5e5e5;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#ffffff;border-color:#ffffff;color:#333333;\">\n<p>To remove multiple packages, write the package name separated by space. For example:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt remove pack1 pack2<\/code><\/pre>\n<\/div><\/div>\n<h3><span class=\"ez-toc-section\" id=\"APT_Autoremove\"><\/span>APT Autoremove<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">While installing a package, some software packages are installed as dependencies. To remove the dependency packages associated with a package, use <code class=\"\" data-line=\"\">sudo apt autoremove<\/code>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-575 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6.png\" alt=\"\" width=\"724\" height=\"260\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6.png 724w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-300x108.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-1024x368.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-766x275.png 766w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-1536x552.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-2048x735.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-418x150.png 418w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-100x36.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-975x350.png 975w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt6-788x282.png 788w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Update_Packages_Using_APT\"><\/span>How to Update Packages Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To update all the available packages with APT, use the command below:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt update<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-576 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7.png\" alt=\"asking password for running apt\" width=\"318\" height=\"69\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7.png 318w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-300x65.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-1024x222.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-765x166.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-1536x333.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-2048x444.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-691x150.png 691w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-100x22.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-1613x350.png 1613w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt7-788x170.png 788w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/>Provide the password and you will see that update started.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-577 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8.png\" alt=\"showing output of apt update\" width=\"825\" height=\"472\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-300x172.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-1024x586.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-767x439.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-1536x879.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-2048x1172.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-262x150.png 262w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-100x57.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-612x350.png 612w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt8-788x450.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>Now there might be times when you need to upgrade your system rather than update. First, you will run an update, then the terminal will tell you if there is anything to update. You can see the list of upgradable packages using:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt list --upgradable<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-578 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9.png\" alt=\"list of upgradable files\" width=\"825\" height=\"246\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-300x89.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-1024x305.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-768x229.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-1536x458.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-2048x611.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-503x150.png 503w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-100x30.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-1174x350.png 1174w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt9-788x234.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>Here is the list of available upgradable packages in the system.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Upgrade_Packages_Using_APT\"><\/span>How to Upgrade Packages Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To upgrade all the available packages with APT, use the command below:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt upgrade<\/code><\/pre>\n<p>This will start upgrading all the existing packages in the system.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-579 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10.png\" alt=\"upgrading all the files with apt upgrade\" width=\"324\" height=\"116\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10.png 324w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-300x107.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-1024x367.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-765x274.png 765w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-1536x550.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-2048x733.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-419x150.png 419w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-100x36.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-978x350.png 978w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt10-788x282.png 788w\" sizes=\"(max-width: 324px) 100vw, 324px\" \/><\/p>\n<p>To Upgrade a specific package, use the following syntax:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt upgrade package_name<\/code><\/pre>\n<p>This will start upgrading that specific package. The terminal should look like the image below.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-580 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11.png\" alt=\"upgrading one file at a time\" width=\"825\" height=\"499\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-300x181.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-1024x619.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-767x464.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-1536x929.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-2048x1239.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-248x150.png 248w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-100x60.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-579x350.png 579w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt11-788x476.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>Type\u00a0<strong>Y <\/strong>and press <strong>ENTER\u00a0<\/strong>when a confirmation prompt appears.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-581 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12.png\" alt=\"giving permission\" width=\"700\" height=\"67\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12.png 700w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-300x29.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-1024x98.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-763x73.png 763w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-1536x147.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-2048x196.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-1567x150.png 1567w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-100x10.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt12-788x75.png 788w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Upgrade_vs_Full_Upgrade\"><\/span>Upgrade vs Full Upgrade<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>First of all, the syntax for these commands is different. For <strong>upgrade,<\/strong> you will use<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt upgrade<\/code><\/pre>\n<p>and for<strong> full-upgrade,<\/strong> you use<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt full-upgrade<\/code><\/pre>\n<p style=\"text-align: justify;\">Secondly, these two commands function a little differently. The core difference between <strong>upgrade <\/strong>and <strong>full-upgrade<\/strong>&#8211; the latter will remove any pre-installed packages to upgrade the entire system if needed. So we must be very cautious while using <strong>full-upgrade<\/strong>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_List_Installed_Packages_Using_APT\"><\/span>How to List Installed Packages Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Use the command below to list all the installed packages in your Ubuntu:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt list --installed<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-582 aligncenter\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13.png\" alt=\"list of installed package using apt\" width=\"825\" height=\"487\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-300x177.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-1024x604.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-767x453.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-1536x907.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-2048x1209.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-254x150.png 254w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-100x59.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-593x350.png 593w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt13-788x465.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Search_Package_Using_APT\"><\/span>How to Search Package Using APT?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">To search for a specific package in Ubuntu repository, use the syntax <code class=\"\" data-line=\"\">sudo apt search &lt;pacakge name&gt;<\/code>. For example, to search if &#8220;ncal&#8221; is present, use:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt search ncal<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-583 aligncenter\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14.png\" alt=\"doing search using apt\" width=\"905\" height=\"676\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14.png 905w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-300x224.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-1024x765.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-767x573.png 767w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-1536x1147.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-2048x1530.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-201x150.png 201w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-100x75.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-469x350.png 469w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt14-788x588.png 788w\" sizes=\"(max-width: 905px) 100vw, 905px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Show_Information_of_a_Package\"><\/span>Show Information of a Package<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">To show information about a package such as how much space a package is holding, it&#8217;s origin, dependencies etc, use <code class=\"\" data-line=\"\">show<\/code> with <code class=\"\" data-line=\"\">apt<\/code>. For example, to show information about &#8220;ncal&#8221;, use:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt show ncal<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-585 size-full\" src=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16.png\" alt=\"showing information of ncal using apt\" width=\"825\" height=\"463\" srcset=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16.png 825w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-300x168.png 300w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-1024x575.png 1024w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-768x431.png 768w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-1536x862.png 1536w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-2048x1149.png 2048w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-267x150.png 267w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-100x56.png 100w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-624x350.png 624w, https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/apt16-788x442.png 788w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/>This shows all the relevant data about <strong>ncal.\u00a0<\/strong><\/p>\n<div class=\"su-note\"  style=\"border-color:#cedfe2;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#E8F9FC;border-color:#ffffff;color:#333333;\"><strong> Note:<\/strong> APT must be used with <strong>sudo. <\/strong>Because to install, remove or upgrade you need to be <strong>root <\/strong>users. <code class=\"\" data-line=\"\">sudo<\/code> grants root privileges while running a command. <\/div><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Fixed_%E2%80%9Capt_Command_Not_Found%E2%80%9D_in_Linux\"><\/span>Fixed: &#8220;apt Command Not Found&#8221; in Linux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">The error message \u201capt Command Not Found\u201d usually occurs when trying to use the APT package manager on a <strong>non-Debian-based<\/strong> Linux system.\u00a0 To fix this error, you can try the following steps:<\/p>\n<ol>\n<li>Make sure that you are using a Debian-based distribution of Linux.<\/li>\n<li>Check if the APT package is installed on your system by running the following command in your terminal:\n<pre><code class=\"language-bash\" data-line=\"\">dpkg -l | grep apt<\/code><\/pre>\n<\/li>\n<li>If the \u201capt\u201d package is installed, you should see it listed in the output. If it\u2019s not, you\u2019ll need to install it 2. 3. If the \u201capt\u201d package is installed, try running the following command to update the package list:\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt-get update<\/code><\/pre>\n<\/li>\n<li>If the \u201capt\u201d package is still not found, you may need to install it manually. You can download the APT package from the official Debian website.<\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">This article explains <strong>how apt works.<\/strong>\u00a0I tried to make it as simple as possible, considering how hard it is to learn to use the command line for beginners. So after reading this article, you should be able to use <strong>apt <\/strong>properly. Feel free to comment below if you face any difficulties regarding the use of APT.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"People_Also_Ask\"><\/span>People Also Ask<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"How_to_install_apt_on_Linux\"><\/span>How to install apt on Linux?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\"><code class=\"\" data-line=\"\">apt<\/code> is a package management tool that comes pre-installed on Ubuntu, Debian, and related Linux distributions. However, if you are using a different distribution that doesn\u2019t have apt pre-installed, you can install it using the following command:<\/p>\n<pre><code class=\"language-bash\" data-line=\"\">sudo apt-get install apt<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"What_is_apt_format\"><\/span>What is apt format?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">The command format for apt is <code class=\"\" data-line=\"\">sudo apt &lt;subcommand&gt; &lt;package name&gt;<\/code>. However, if you are referring to the format of the Ubuntu <strong>sources.list<\/strong> file, it is a plain text file that contains a list of package sources and their locations. The file is located in the <strong>\/etc\/apt\/<\/strong> directory and is named <strong>sources.list<\/strong>. Each line in the <strong>sources.list<\/strong> file represents a package source and has the following format:<\/p>\n<p><code class=\"\" data-line=\"\">deb http:\/\/archive.ubuntu.com\/ubuntu\/ distribution component1 component2 ...<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_is_apt_used\"><\/span>Why is apt used?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\"><code class=\"\" data-line=\"\">apt<\/code> is used as a package management tool on Ubuntu, Debian, and related Linux distributions. It is a command-line utility that is used for installing, updating, removing, and otherwise managing <strong>deb<\/strong> packages apt combines the most frequently used commands from the apt-get and apt-cache tools with different default values of some options.<\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"What_is_the_difference_between_APT_and_apt-get\"><\/span>What is the difference between APT and apt-get?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\"><code class=\"\" data-line=\"\">apt-get<\/code> is a full-featured interface to dpkg, which is the underlying package management system in Debian. It provides a wide range of options and features, but it can be somewhat complex to use. APT, on the other hand, is a slightly stripped-back but more user-friendly version of apt-get. It includes most of the same commands as apt-get, but with a simpler syntax and more intuitive output.<\/p>\n<hr \/>\n<p><span style=\"color: #000080; font-size: 18pt;\" data-darkreader-inline-color=\"\"><strong>Similar Readings<\/strong><\/span><\/p>\n<ul>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/what-is-package-manager-in-linux\/\" target=\"_blank\" rel=\"noopener\">What is Package Manager in Linux?[Install, Update &amp; Manage]<\/a><\/strong><\/li>\n<li><strong><a class=\"in-cell-link\" href=\"https:\/\/linuxsimply.com\/dpkg-in-linux\/\" target=\"_blank\" rel=\"noopener\">What is DPKG in Linux? [With Practical Applications<\/a><\/strong><\/li>\n<\/ul>\n<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [{\n    \"@type\": \"Question\",\n    \"name\": \"Why is apt used?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"apt is used as a package management tool on Ubuntu, Debian, and related Linux distributions. It is a command-line utility that is used for installing, updating, removing, and otherwise managing deb packages apt combines the most frequently used commands from the apt-get and apt-cache tools with different default values of some options.\"\n    }\n  },{\n    \"@type\": \"Question\",\n    \"name\": \"What is the difference between APT and apt-get?\",\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"apt-get is a full-featured interface to dpkg, which is the underlying package management system in Debian. It provides a wide range of options and features, but it can be somewhat complex to use. APT, on the other hand, is a slightly stripped-back but more user-friendly version of apt-get. It includes most of the same commands as apt-get, but with a simpler syntax and more intuitive output.\"\n    }\n  }]\n}\n<\/script><\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;528&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;5&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;4.8&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;4.8\\\/5 - (5 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;What is APT in Linux? [Installation, Usage \\u0026amp; More]&quot;,&quot;width&quot;:&quot;136.7&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 136.7px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            4.8\/5 - (5 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>APT (Advanced Package Tool) is a collection of tools used to install, update, remove, and otherwise manage software packages on &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"What is APT in Linux? [Installation, Usage &#038; More]\" class=\"read-more button\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/#more-528\" aria-label=\"Read more about What is APT in Linux? [Installation, Usage &#038; More]\">Read more<\/a><\/p>\n","protected":false},"author":314887,"featured_media":653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[18],"class_list":["post-528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-glossary","tag-linux-terminology","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is APT in Linux? [Installation, Usage &amp; More] - LinuxSimply<\/title>\n<meta name=\"description\" content=\"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxsimply.com\/apt-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is APT in Linux? [Installation, Usage &amp; More] - LinuxSimply\" \/>\n<meta property=\"og:description\" content=\"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxsimply.com\/apt-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxSimply\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rafsanzn\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-30T04:17:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-17T03:43:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rafsan Zani\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rafsan Zani\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/\"},\"author\":{\"name\":\"Rafsan Zani\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/8e7276de56e31a832a5d020c11c45e19\"},\"headline\":\"What is APT in Linux? [Installation, Usage &#038; More]\",\"datePublished\":\"2022-11-30T04:17:32+00:00\",\"dateModified\":\"2024-04-17T03:43:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/\"},\"wordCount\":1159,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/What-is-APT-in-Linux-1.png\",\"keywords\":[\"linux terminology\"],\"articleSection\":[\"Linux Glossary\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/\",\"name\":\"What is APT in Linux? [Installation, Usage & More] - LinuxSimply\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/What-is-APT-in-Linux-1.png\",\"datePublished\":\"2022-11-30T04:17:32+00:00\",\"dateModified\":\"2024-04-17T03:43:01+00:00\",\"description\":\"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/What-is-APT-in-Linux-1.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/What-is-APT-in-Linux-1.png\",\"width\":400,\"height\":400,\"caption\":\"what is apt?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/apt-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxsimply.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is APT in Linux? [Installation, Usage &#038; More]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#website\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"name\":\"LinuxSimply\",\"description\":\"All About Linux\",\"publisher\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxsimply.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#organization\",\"name\":\"LinuxSimply\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/LinuxSimply-New-Logo-Without-Icon.png\",\"width\":355,\"height\":48,\"caption\":\"LinuxSimply\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/#\\\/schema\\\/person\\\/8e7276de56e31a832a5d020c11c45e19\",\"name\":\"Rafsan Zani\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"url\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"contentUrl\":\"https:\\\/\\\/linuxsimply.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Md.-Rafsan-Zani-II-96x96.png\",\"caption\":\"Rafsan Zani\"},\"description\":\"Hello, I\u2019m Md. Rafsan Zani. I have recently completed my Undergraduate from the Bangladesh University of Engineering and Technology (BUET). Currently, I\u2019m pursuing higher studies abroad. I\u2019m really interested in computer science and would like to learn a lot about the wonderful world of computers. Currently, I\u2019m working as a Linux Content Developer Executive and find Linux really interesting. I certainly would like to learn more about Linux and implement them in my future studies. Read Full Bio\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/rafsanzn\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/md-rafsan-zani-072838168\\\/\"],\"url\":\"https:\\\/\\\/linuxsimply.com\\\/author\\\/rafsan-zani\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is APT in Linux? [Installation, Usage & More] - LinuxSimply","description":"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.","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:\/\/linuxsimply.com\/apt-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"What is APT in Linux? [Installation, Usage & More] - LinuxSimply","og_description":"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.","og_url":"https:\/\/linuxsimply.com\/apt-in-linux\/","og_site_name":"LinuxSimply","article_author":"https:\/\/www.facebook.com\/rafsanzn\/","article_published_time":"2022-11-30T04:17:32+00:00","article_modified_time":"2024-04-17T03:43:01+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png","type":"image\/png"}],"author":"Rafsan Zani","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rafsan Zani","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#article","isPartOf":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/"},"author":{"name":"Rafsan Zani","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/8e7276de56e31a832a5d020c11c45e19"},"headline":"What is APT in Linux? [Installation, Usage &#038; More]","datePublished":"2022-11-30T04:17:32+00:00","dateModified":"2024-04-17T03:43:01+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/"},"wordCount":1159,"commentCount":0,"publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"image":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png","keywords":["linux terminology"],"articleSection":["Linux Glossary"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxsimply.com\/apt-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxsimply.com\/apt-in-linux\/","url":"https:\/\/linuxsimply.com\/apt-in-linux\/","name":"What is APT in Linux? [Installation, Usage & More] - LinuxSimply","isPartOf":{"@id":"https:\/\/linuxsimply.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png","datePublished":"2022-11-30T04:17:32+00:00","dateModified":"2024-04-17T03:43:01+00:00","description":"Apt in Linux is an advanced tool used for installing, removing, and updating software packages. Apt stands for Advanced Packaging Tool.","breadcrumb":{"@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxsimply.com\/apt-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#primaryimage","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2022\/11\/What-is-APT-in-Linux-1.png","width":400,"height":400,"caption":"what is apt?"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxsimply.com\/apt-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxsimply.com\/"},{"@type":"ListItem","position":2,"name":"What is APT in Linux? [Installation, Usage &#038; More]"}]},{"@type":"WebSite","@id":"https:\/\/linuxsimply.com\/#website","url":"https:\/\/linuxsimply.com\/","name":"LinuxSimply","description":"All About Linux","publisher":{"@id":"https:\/\/linuxsimply.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxsimply.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linuxsimply.com\/#organization","name":"LinuxSimply","url":"https:\/\/linuxsimply.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/LinuxSimply-New-Logo-Without-Icon.png","width":355,"height":48,"caption":"LinuxSimply"},"image":{"@id":"https:\/\/linuxsimply.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/linuxsimply.com\/#\/schema\/person\/8e7276de56e31a832a5d020c11c45e19","name":"Rafsan Zani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","url":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","contentUrl":"https:\/\/linuxsimply.com\/wp-content\/uploads\/2023\/09\/Md.-Rafsan-Zani-II-96x96.png","caption":"Rafsan Zani"},"description":"Hello, I\u2019m Md. Rafsan Zani. I have recently completed my Undergraduate from the Bangladesh University of Engineering and Technology (BUET). Currently, I\u2019m pursuing higher studies abroad. I\u2019m really interested in computer science and would like to learn a lot about the wonderful world of computers. Currently, I\u2019m working as a Linux Content Developer Executive and find Linux really interesting. I certainly would like to learn more about Linux and implement them in my future studies. Read Full Bio","sameAs":["https:\/\/www.facebook.com\/rafsanzn\/","https:\/\/www.linkedin.com\/in\/md-rafsan-zani-072838168\/"],"url":"https:\/\/linuxsimply.com\/author\/rafsan-zani\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/users\/314887"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":0,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media\/653"}],"wp:attachment":[{"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxsimply.com\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}