How to Remove Junk Files from Kali Linux

Published on September 8, 2020 19 sec read

In this guide, I’m going to share how to remove junk files from Kali Linux. Let’s see.

Table of Contents

  1. Method 1
  2. Method 2

Method 1

To clean the packages and install script (/var/cache/apt/archives/) run this command:

sudo apt clean

To clean obsolete deb-packages:

sudo apt autoclean

To clean file / dependencies that are not needed from the system:

sudo apt autoremove

Method 2

We can use BleachBit to clean linux system. You can download latest BleachBit tool from their official website.

sudo apt install bleachbit
That’s it. Thanks for reading. 🙂

Monthly Newsletter

One email a month, packed with the latest tutorials, delivered straight to your inbox.
We'll never send any spam or promotional emails.
Author

Hey, I'm Md Obydullah. I build open-source projects and write article on Laravel, Linux server, modern JavaScript and more on web development.

Follow

Leave a Reply