{"id":5108,"date":"2023-07-22T11:03:07","date_gmt":"2023-07-22T11:03:07","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=5108"},"modified":"2023-10-04T14:38:12","modified_gmt":"2023-10-04T14:38:12","slug":"use-apt-package-manager-on-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/","title":{"rendered":"How to Use APT Package Manager on Ubuntu Linux?"},"content":{"rendered":"<p>To manage programs, specialized tools were created for Linux. Linux application software often comes packaged. How to Use APT Package Manager on Ubuntu Linux? Apt-get is the Ubuntu package manager by default.<\/p>\n<p>A software utility called a package manager is used by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Linux\" target=\"_blank\" rel=\"noopener\">Linux operating systems<\/a> to ensure that the software is correctly installed and up to date. It also maintains a current list of software that is accessible, which is kept outside in a database known as a repository.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 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:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#Does_this_tutorial_demonstrate_How_to_Use_APT_Package_Manager_on_Ubuntu_Linux\" >Does this tutorial demonstrate How to Use APT Package Manager on Ubuntu Linux?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#Adapt_updates_to_the_Ubuntu_Package_Repositories\" >Adapt updates to the Ubuntu Package Repositories<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#A_Packages_Installation_Using_apt\" >A Package&#8217;s Installation Using apt<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#Using_apt_Update_Installed_Software\" >Using apt, Update Installed Software<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#Remove_the_Package\" >Remove the Package<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/use-apt-package-manager-on-ubuntu-linux\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Does_this_tutorial_demonstrate_How_to_Use_APT_Package_Manager_on_Ubuntu_Linux\"><\/span><u>Does this tutorial demonstrate How to Use APT Package Manager on Ubuntu Linux?<\/u><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>An operating system for Linux<\/li>\n<li>Access to a command line or terminal<\/li>\n<\/ol>\n<p>Preinstalled in Ubuntu and Debian-based Linux is the apt-get program. We must utilize the Ubuntu terminal because apt-get is a command-line tool.<\/p>\n<p>Choose Terminal from the system menu&#8217;s Applications &gt; System Tools section. Alternatively, you can launch Terminal by pressing Ctrl + Alt + T.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Adapt_updates_to_the_Ubuntu_Package_Repositories\"><\/span><strong>Adapt updates to the Ubuntu Package Repositories<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before installing a new application, it&#8217;s a good habit to update your local software list.<\/p>\n<p><u>Enter the following in a terminal on Ubuntu to update your local software list:<\/u><\/p>\n<ul>\n<li><code>Doing sudo apt-get update<\/code><\/li>\n<\/ul>\n<p>The repositories will be checked by your system for new data. When finished, the result displays done.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"A_Packages_Installation_Using_apt\"><\/span><strong>A Package&#8217;s Installation Using apt<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Installing the software package known as software-properties-common is one technique to add repositories. The add-apt-repository command is enabled by this package, which also prevents Ubuntu&#8217;s typical &#8220;Add-Apt-Repository Command Not Found&#8221; issue.<\/p>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/X20QCZlOhzM\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><u>You can learn How to Use APT Package Manager on Ubuntu Linux? in the section below. Type the following in your terminal window:<\/u><\/p>\n<ul>\n<li><code>sudo apt-get install software-properties-common<\/code><\/li>\n<\/ul>\n<p>Your machine will connect to the repositories, download the necessary files, and install the program. The output will inform you and display the most recent version if you already have the most recent version.<\/p>\n<p><u>After that is finished, type the next:<\/u><\/p>\n<ul>\n<li><code>Add-apt repository: [repository string] with sudo<\/code><\/li>\n<\/ul>\n<p>Put the name of the repository you&#8217;re adding in place of [repository string]. On the website of the program creator, the name is typically listed.<\/p>\n<p>Run another update as soon as that is finished.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Using_apt_Update_Installed_Software\"><\/span><strong>Using apt, Update Installed Software<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Apt-get can simultaneously scan for and install software updates to all of your packages, which is a useful function. Typically, a schedule takes care of this automatically.<\/p>\n<p><u>However, you can use the following command to manually check for and apply updates, including those for your main operating system:<\/u><\/p>\n<ul>\n<li><code>Using sudo apt-get upgrade<\/code><\/li>\n<\/ul>\n<p>Your computer will make contact with the servers and begin downloading all of the updates. This could take a while. Allow the procedure to finish.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Remove_the_Package\"><\/span><strong>Remove the Package<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>How to Use APT Package Manager on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ubuntu\" target=\"_blank\" rel=\"noopener\"><strong>Ubuntu Linux<\/strong><\/a>? On Ubuntu, uninstalling or removing a package is a simple operation.<\/p>\n<p><u>Put the following in:<\/u><\/p>\n<ul>\n<li><code>Using sudo apt-get uninstall [package name]<\/code><\/li>\n<\/ul>\n<p>Change [package name] to the application&#8217;s system name. In case there are any mistakes, make sure to double-check the name.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Do you now understand how to use apt to manage packages <span style=\"color: #000000;\"><strong>How to Use APT Package Manager on Ubuntu Linux?<\/strong><\/span> To find out more about the differences between the apt and apt-get commands, read this article.<\/p>\n<p>For <a href=\"https:\/\/arzhost.com\/blogs\/how-to-build-linux-kernel-from-scratch\/\">Linux<\/a> users, package managers are a remarkably useful feature. They take care of the majority of the grunt work for you, checking for updates and dependencies. You have a great deal of control over your Linux system if you have a basic understanding of apt-get.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To manage programs, specialized tools were created for Linux. Linux application software often comes packaged. How to Use APT Package Manager on Ubuntu Linux? Apt-get is the Ubuntu package manager by default. A software utility called a package manager is used by Linux operating systems to ensure that the software is correctly installed and up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6006,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[207,208],"table_tags":[],"class_list":["post-5108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-apt-package-manager-on-ubuntu-linux","tag-package-manager-on-ubuntu-linux"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=5108"}],"version-history":[{"count":3,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5108\/revisions"}],"predecessor-version":[{"id":6007,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/5108\/revisions\/6007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/6006"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=5108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=5108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=5108"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=5108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}