Results 1 to 4 of 4

Thread: Nethunter Remove Unneeded Files ( +4 GIB )

  1. #1
    Join Date
    2020-Mar
    Location
    Turkey, İstanbul
    Posts
    103

    Nethunter Remove Unneeded Files ( +4 GIB )

    He dear Community, @re4son ..

    i discovered Nethunter bloat files, but i i dont know which can be remove or not.

    here is list:

    1) /usr/lib/aarch64-linux-gnu/dri/ *539 MB*

    2) /usr/lib/arm-none-eabi/newlib/thumb/ *1.1 GB*

    3) /var/cache/apt/archives *1.6 GB* (i used apt autoremove but it seems, it doesnt remove unneeded (already installed .deb files) .debs so we can remove its ? )

    4) /usr/share/seclists/Fuzzing/User-Agents/ *363 MB*

    5) /usr/lib/gcc/arm-none-eabi/ *487MB*

  2. #2
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Let's not call them bloat files, please.
    They are standard artefacts of a linux installation and that term makes it sound like they were added for questionable reasons.

    I'm sure there are some files that are not essential for NetHunter but installing everything and then deleting files might not be the safest or most efficient approach.
    I'd do it the other way around if I were you:

    Create a NetHunter installer image with the minimal rootfs. Flash your device and add the tools and applications you need.
    If you are in a situation where you have to use
    Code:
    sudo apt autoclean
    or
    Code:
    sudo apt clean
    to fit more on your device, then you should uninstall packages you don't need. You don't want to rely on an empty apt cache for your device to work.

    Having said that, if you find safe ways to optimize the storage utilization or on how to get more out of low spec devices, please share.

  3. #3
    Join Date
    2020-Mar
    Location
    Turkey, İstanbul
    Posts
    103
    @re4son thanks.
    i removed /var/cache/apt/archives *deb files and no problem.(said before, apt autoremove doesnt removes .deb files)

  4. #4
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    That's correct. To remove the retrieved package files from your local repository you use:

    Code:
    sudo apt autoclean
    and

    Code:
    sudo apt clean
    https://manpages.debian.org/stretch/...-get.8.en.html

Similar Threads

  1. Nethunter installer not downloading kali 2.0 image & other files
    By stgrosso in forum Installing NetHunter
    Replies: 3
    Last Post: 2015-08-18, 15:43
  2. How to remove Nethunter (Nexus 4) ?
    By Qadr in forum NetHunter General Questions
    Replies: 2
    Last Post: 2015-07-27, 02:45
  3. Replies: 0
    Last Post: 2015-07-14, 02:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •