{"id":312,"date":"2021-03-06T19:21:54","date_gmt":"2021-03-06T19:21:54","guid":{"rendered":"https:\/\/maboc.nl\/?p=312"},"modified":"2021-03-07T12:34:07","modified_gmt":"2021-03-07T12:34:07","slug":"debian-apt-commands","status":"publish","type":"post","link":"https:\/\/maboc.nl\/?p=312","title":{"rendered":"Debian apt commands"},"content":{"rendered":"<p>I just installed a Debian machine.<\/p>\n<p>And since I&#8217;m a very longtime RedHat\/Fedora man now I&#8217;m struggling with the commands to install stuff.<br \/>\nHere are my notes:<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">apt update<\/td>\n<td style=\"width: 50%;\">Updates the meta-data and repositories<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">apt upgrade<\/td>\n<td style=\"width: 50%;\">Actually upgrades packages who need upgrading<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">apt install &lt;package&gt;<\/td>\n<td style=\"width: 50%;\">Installs a package<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">apt list [package]<\/td>\n<td style=\"width: 50%;\">Displays all packages known to apt<\/p>\n<p>Or shows whether a package is installed<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">apt remove<\/td>\n<td style=\"width: 50%;\">Removes the mentioned package<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">apt-file<\/td>\n<td style=\"width: 50%;\">searches which pacakage supplies a program<\/p>\n<p>(before running run apt-file update)<\/p>\n<p>(I first had to install apt-file : apt install apt-file)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just installed a Debian machine. And since I&#8217;m a very longtime RedHat\/Fedora man now I&#8217;m struggling with the commands to install stuff. Here are my notes: apt update Updates the meta-data and repositories apt upgrade Actually upgrades packages who need upgrading apt install &lt;package&gt; Installs a package apt list [package] Displays all packages known [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[55,54],"class_list":["post-312","post","type-post","status-publish","format-standard","hentry","category-debian","tag-apt","tag-debian"],"_links":{"self":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=312"}],"version-history":[{"count":7,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":320,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/312\/revisions\/320"}],"wp:attachment":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}