How to Remove Junk Files from Kali Linux

Published on Sep 08, 2020

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. ?

Comments (0)