How to Remove Junk Files from Kali Linux

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.


Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.

Similar Stories