{"id":11795,"date":"2022-01-27T17:53:22","date_gmt":"2022-01-27T22:53:22","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=11795"},"modified":"2022-01-27T17:53:24","modified_gmt":"2022-01-27T22:53:24","slug":"following-packages-were-automatically-installed-and-are-no-longer-required","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/","title":{"rendered":"The Following Packages Were Automatically Installed and are no Longer Required Meaning"},"content":{"rendered":"\n

You might find it more often than not when you run apt-get or apt<\/code> on Ubuntu<\/a> or Debian<\/a> systems you get the message; The following packages were automatically installed and are no longer required. This is then followed with a list of packages the instruction; “Use ‘sudo apt autoremove’ to remove them”. In this short guide, we will use apt-get in our explanations to mean apt as well.<\/p>\n\n\n\n

Here is what a typical message looks like:<\/p>\n\n\n\n

The following packages were automatically installed and are no longer required:\n  linux-headers-5.4.0-89-generic linux-headers-5.4.0-90-generic linux-hwe-5.4-headers-5.4.0-89\n  linux-hwe-5.4-headers-5.4.0-90 linux-image-5.4.0-89-generic linux-image-5.4.0-90-generic\n  linux-modules-5.4.0-89-generic linux-modules-5.4.0-90-generic linux-modules-extra-5.4.0-89-generic\n  linux-modules-extra-5.4.0-90-generic php8.0-dev\nUse 'sudo apt autoremove' to remove them.<\/code><\/pre>\n\n\n\n

This happens as a side effect of a package or multiple packages being installed automatically by apt-get because it’s a dependency of some other package. apt-get keeps track of it. Later on, when apt-get<\/code> notices that nothing depends on the package anymore, it will suggest that the package be removed. That is what “no longer required” means.<\/p>\n\n\n\n

If you want to prevent this behavior on certain packages you can run apt-mark<\/a> on it and mark it as manually installed for example:<\/p>\n\n\n\n

$ sudo apt-mark manual git<\/code><\/pre>\n\n\n\n

You can also install it explicitly. If it is already installed, it may be upgraded to the latest release otherwise it won’t do anything other than mark it as manually or explicitly installed and won’t suggest their removal.<\/p>\n\n\n\n

$ sudo apt-get install git<\/code><\/pre>\n\n\n\n

Conclusion, is “No Longer required” Safe?<\/h2>\n\n\n\n

Yes, You have seen it is, therefore, totally safe to run the command to remove the specified packages and keep your Ubuntu and Debian-based systems tidy.<\/p>\n","protected":false},"excerpt":{"rendered":"

You might find it more often than not when you run apt-get or apt on Ubuntu or Debian systems you get the message; The following packages were automatically installed and…<\/p>\n","protected":false},"author":1,"featured_media":11797,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,16,18],"tags":[183,193,354,572,573,591,598],"yoast_head":"\nThe Following Packages Were Automatically Installed and are no Longer Required Meaning<\/title>\n<meta name=\"description\" content=\"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Following Packages Were Automatically Installed and are no Longer Required Meaning\" \/>\n<meta property=\"og:description\" content=\"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-27T22:53:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-27T22:53:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"The Following Packages Were Automatically Installed and are no Longer Required Meaning\",\"datePublished\":\"2022-01-27T22:53:22+00:00\",\"dateModified\":\"2022-01-27T22:53:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\"},\"wordCount\":240,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg\",\"keywords\":[\"Debian\",\"DevOps\",\"Linux\",\"Systems\",\"Systems Administration\",\"Tools\",\"Ubuntu\"],\"articleSection\":[\"Articles\",\"Guides\",\"Technology\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\",\"url\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\",\"name\":\"The Following Packages Were Automatically Installed and are no Longer Required Meaning\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg\",\"datePublished\":\"2022-01-27T22:53:22+00:00\",\"dateModified\":\"2022-01-27T22:53:24+00:00\",\"description\":\"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg\",\"width\":1280,\"height\":680,\"caption\":\"packages were automatically installed and are no longer required\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Following Packages Were Automatically Installed and are no Longer Required Meaning\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Following Packages Were Automatically Installed and are no Longer Required Meaning","description":"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt","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":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/","og_locale":"en_US","og_type":"article","og_title":"The Following Packages Were Automatically Installed and are no Longer Required Meaning","og_description":"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt","og_url":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2022-01-27T22:53:22+00:00","article_modified_time":"2022-01-27T22:53:24+00:00","og_image":[{"width":1280,"height":680,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"The Following Packages Were Automatically Installed and are no Longer Required Meaning","datePublished":"2022-01-27T22:53:22+00:00","dateModified":"2022-01-27T22:53:24+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/"},"wordCount":240,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg","keywords":["Debian","DevOps","Linux","Systems","Systems Administration","Tools","Ubuntu"],"articleSection":["Articles","Guides","Technology","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/","url":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/","name":"The Following Packages Were Automatically Installed and are no Longer Required Meaning","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg","datePublished":"2022-01-27T22:53:22+00:00","dateModified":"2022-01-27T22:53:24+00:00","description":"What does the following packages were automatically installed and are no longer required in Ubuntu Linux systems with apt","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/no-longer-required.jpg","width":1280,"height":680,"caption":"packages were automatically installed and are no longer required"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/following-packages-were-automatically-installed-and-are-no-longer-required\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"The Following Packages Were Automatically Installed and are no Longer Required Meaning"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11795"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=11795"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11795\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/11797"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=11795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=11795"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=11795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}