{"id":218732,"date":"2026-03-01T09:00:00","date_gmt":"2026-03-01T14:00:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/03\/01\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/"},"modified":"2026-03-01T10:20:09","modified_gmt":"2026-03-01T15:20:09","slug":"i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/03\/01\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/","title":{"rendered":"I run these 5 commands on every fresh Linux install to save hours of work"},"content":{"rendered":"<p><a href=\"https:\/\/www.howtogeek.com\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/\">I run these 5 commands on every fresh Linux install to save hours of work<\/a><\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/\">https:\/\/www.howtogeek.com\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-03-01 09:00:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.howtogeek.com\">www.howtogeek.com<\/a><\/p>\n<p>Setting up a fresh Linux system and getting it ready for your work can sometimes be a tedious time sink. It&#8217;s why I have this 5-step approach to making it as fast as I can.<\/p>\n<h2 id=\"run-a-system-update\">\n                        Run a system update<br \/>\n               <\/h2>\n<p>You might have noticed that whenever you see instructions to install something using a package manager, the documentation or the tutorial include a little update command like sudo apt update. Why is that?<\/p>\n<p>Sometimes, when you run a command to install an app, it might return an error. Something like &#8220;package not found&#8221; or &#8220;unable to fetch.&#8221; If that happens, it doesn&#8217;t necessarily mean that the target package doesn&#8217;t exist in the package manager repositories. The package might fail to locate the package if the package manager&#8217;s local database is out of sync with the Linux servers.<\/p>\n<p>Whenever you run something like apt install vlc, it doesn&#8217;t actually connect to the server right away to locate the package. That would be slow and finicky (depending on your connection). Instead, your OS creates a local index of all available packages and runs the search on that database.<\/p>\n<p>As new packages are added and older versions are updated in the official repos, the local database falls out of sync with the remote repo. It has to be manually updated and synced with the official providers. That&#8217;s what sudo apt update does.<\/p>\n<p>After the local index is in sync with the official repos, you can run sudo apt upgrade to update all your packages&#8230;<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/i-run-these-5-commands-on-every-fresh-linux-install-to-save-hours-of-work\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I run these 5 commands on every fresh Linux install to save hours of work&#8230;<\/p>\n","protected":false},"author":1,"featured_media":218733,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/static0.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/10\/a-laptop-with-linux-terminal-uninstalling-an-app.jpg?w=1600&h=900&fit=crop","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71,79],"class_list":["post-218732","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/218732"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=218732"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/218732\/revisions"}],"predecessor-version":[{"id":218734,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/218732\/revisions\/218734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/218733"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=218732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=218732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=218732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}