{"id":640,"date":"2020-01-01T13:28:06","date_gmt":"2020-01-01T13:28:06","guid":{"rendered":"http:\/\/www.esds.co.in\/data-centers\/kb\/?p=640"},"modified":"2020-01-02T12:40:39","modified_gmt":"2020-01-02T12:40:39","slug":"how-to-clean-up-ubuntu-server","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/","title":{"rendered":"How to Clean Up Your Ubuntu System?"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img src=\"blob:https:\/\/www.esds.co.in\/beca6f68-759b-4482-ab83-72bd622b4833\" alt=\"\"\/><\/figure>\n\n\n<h2 style=\"text-align: center;\"><strong>Steps to Clean Up Your Ubuntu System.<\/strong><\/h2>\n<p><img loading=\"lazy\" class=\"size-large wp-image-3859 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04-1024x576.jpg\" alt=\"ubuntu server image 18.04\" width=\"980\" height=\"551\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04.jpg 1024w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04-300x169.jpg 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04-768x432.jpg 768w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04-60x34.jpg 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-image-18.04-150x84.jpg 150w\" sizes=\"(max-width: 980px) 100vw, 980px\" \/><\/p>\n<p>Are you running out of space? This is the very common problem that you often clash because of plenty of useless files that gather daily and you forget to delete them from the system. Due to this, you might feel that your system is slow, lagging despite you are up-to-date.<\/p>\n<p>Here in this article, we\u2019ll share the simple ways to <strong>clean up the Ubuntu system and get more space<\/strong>.<\/p>\n<p><strong>1. Remove all the Unwanted Applications, Files and Folders.<\/strong><\/p>\n<p>Using your default Ubuntu Software manager, remove the unwanted applications that you don\u2019t use.<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3843 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server.png\" alt=\"ubuntu server\" width=\"643\" height=\"294\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server.png 643w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-300x137.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-60x27.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-150x69.png 150w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>2. Remove unwanted Packages and Dependencies<\/strong><\/p>\n<p>After removing those apps, files, and packages some data is left still, automatically bestowing upon the user the responsibility of rooting out the remnant data and deleting them. Ubuntu has an inbuilt cleaner that you can access through your terminal using the following command:<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3844 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-1.png\" alt=\"ubuntu server 1\" width=\"604\" height=\"51\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-1.png 604w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-1-300x25.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-1-60x5.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-1-150x13.png 150w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/p>\n<p><strong>3. Need to Clean the Thumbnail Cache<\/strong><\/p>\n<p>Ubuntu uses thumbnails to make certain operations on your computer to execute them faster. They are kind of cache and cookies in your browsers. Also, it stores those thumbnails in a hidden directory in your user account at the location <strong><em>~\/.cache\/thumbnails<\/em><\/strong><em>.<\/em><\/p>\n<p>Moreover, the thumbnails increases and the computer doesn\u2019t clear it automatically. Ubuntu has an inbuilt command that can help you with this issue. So to clear the thumbnail cache use the below command-<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3845 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-2.png\" alt=\"ubuntu server 2\" width=\"603\" height=\"47\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-2.png 603w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-2-300x23.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-2-60x5.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-2-150x12.png 150w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/p>\n<p>You can also check the size of the thumbnail before deleting them by using the command:<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3846 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-3.png\" alt=\"ubuntu server 3\" width=\"603\" height=\"23\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-3.png 603w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-3-300x11.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-3-60x2.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-3-150x6.png 150w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/p>\n<p><strong>\u00a0<\/strong><strong>4. Regularly clean the APT cache<\/strong><\/p>\n<p>Apt (Advanced Package Tool) cache is a place where Ubuntu keeps all the files that you have downloaded, installed or uninstalled on your system. It keeps them (in your \/var\/cache\/apt\/archives directory).<\/p>\n<p>If ignored, this cache can grow pretty large and hold a lot of packages that you don\u2019t need.<\/p>\n<p>The following command tells you the size of the APT cache on your system-<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3847 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-4.png\" alt=\"ubuntu server 4\" width=\"607\" height=\"22\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-4.png 607w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-4-300x11.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-4-60x2.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-4-150x5.png 150w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/p>\n<p>After knowing the size of the cache on your system, you can clear this cache using the below command-<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-3848 aligncenter\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-5.png\" alt=\"ubuntu server 5\" width=\"608\" height=\"24\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-5.png 608w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-5-300x12.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-5-60x2.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/ubuntu-server-5-150x6.png 150w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/p>\n<p>In order to keep your system clean, you should clear your apt cache regularly.<\/p>\n<p><strong>To conclude:<\/strong><\/p>\n<p>There are many ways to clean up the Ubuntu system. We like to recommend you <strong><em>#apt-get clean<\/em><\/strong> more often than any other commands here. Using this command frequently keeps the system free from unnecessary files.<\/p>\n<p>We hope this article helped you to make free space on Ubuntu. Do revert to us if this worked perfectly for you.<\/p>","protected":false},"excerpt":{"rendered":"<p>Steps to Clean Up Your Ubuntu System. Are you running out of space? This is the very common problem that you often clash because of plenty of useless files that gather daily and you forget to delete them from the system. Due to this, you might feel that your system is slow, lagging despite you&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\" class=\"gdlr-button small excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[69],"tags":[953,952,262],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Clean Up Your Ubuntu System | Ubuntu Dedicated Server<\/title>\n<meta name=\"description\" content=\"Running out of space? Check out this tutorial that helps you to make free space in Ubuntu and keep your system clean and free of the unnecessary cache.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Clean Up Your Ubuntu System | Ubuntu Dedicated Server\" \/>\n<meta property=\"og:description\" content=\"Running out of space? Check out this tutorial that helps you to make free space in Ubuntu and keep your system clean and free of the unnecessary cache.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-01T13:28:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-02T12:40:39+00:00\" \/>\n<meta property=\"og:image\" content=\"\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"blob:https:\/\/www.esds.co.in\/beca6f68-759b-4482-ab83-72bd622b4833\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\",\"name\":\"How to Clean Up Your Ubuntu System | Ubuntu Dedicated Server\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/#primaryimage\"},\"datePublished\":\"2020-01-01T13:28:06+00:00\",\"dateModified\":\"2020-01-02T12:40:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/4344af4dd22cdad2ba4c1de386afe0bf\"},\"description\":\"Running out of space? Check out this tutorial that helps you to make free space in Ubuntu and keep your system clean and free of the unnecessary cache.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/how-to-clean-up-ubuntu-server\/\",\"name\":\"How to Clean Up Your Ubuntu System?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/4344af4dd22cdad2ba4c1de386afe0bf\",\"name\":\"Niteesha Birari\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93d45d75be857b4cc9726661e8429b97?s=96&d=mm&r=g\",\"caption\":\"Niteesha Birari\"},\"description\":\"Niteesha is a Senior Specialist at ESDS, working closely with the Governance Team to drive innovation, efficiency, and compliance across projects. With a strong passion for cloud technologies and digital innovation, she plays a key role in designing and maintaining the organization\\u2019s information architecture, ensuring seamless data accessibility and system efficiency. Known for her sharp analytical mindset and clear communication, Niteesha has extensive experience in crafting high-quality technical documentation\\u2014including articles, user guides, and service manuals\\u2014that simplify complex software products and services for diverse audiences.\",\"sameAs\":[\"https:\/\/esds.co.in\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/640"}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=640"}],"version-history":[{"count":18,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/640\/revisions"}],"predecessor-version":[{"id":3860,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/640\/revisions\/3860"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}