{"id":924,"date":"2013-08-06T19:33:27","date_gmt":"2013-08-06T19:33:27","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=924"},"modified":"2016-07-13T10:03:10","modified_gmt":"2016-07-13T10:03:10","slug":"apt-package-manager","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-operating-systems\/raspbian\/package-manager-raspbian\/apt-package-manager","title":{"rendered":"APT Package Manager"},"content":{"rendered":"<h4>\nAPT commands<br \/>\n<\/h4>\n<p>\nTo upgrade all the packages on your system, and, if needed for a package upgrade, installing extra packages or removing packages, run:\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get dist-upgrade\r\n<\/code><\/pre>\n<p>\nUpdate the list of packages known by your system:\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get update\r\n<\/code><\/pre>\n<p>\n(Execute this regularly to update your package lists)\n<\/p>\n<p>\nUpgrade all the packages on your system (without installing extra packages or removing packages):\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get upgrade\r\n<\/code><\/pre>\n<p>\nTo install a package and all its dependencies:\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get install packagename\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\nRemove a package:\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get remove packagename\r\n<\/code><\/pre>\n<p>\nRemove a package and its configuration files:\n<\/p>\n<pre>\r\n<code>\r\nsudo apt-get --purge remove packagename\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>APT commands To upgrade all the packages on your system, and, if needed for a package upgrade, installing extra packages or removing packages, run: sudo apt-get dist-upgrade Update the list of packages known by your system: sudo apt-get update (Execute this regularly to update your package lists) Upgrade all the packages on your system (without [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-924","post","type-post","status-publish","format-standard","hentry","category-package-manager-raspbian"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=924"}],"version-history":[{"count":6,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/924\/revisions"}],"predecessor-version":[{"id":2595,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/924\/revisions\/2595"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}