Skip to content

On a Chromebook running Debian, you can free up disk space used by doing the following #385

@coding-to-music

Description

@coding-to-music

On a Chromebook running Debian, you can free up disk space used by doing the following:

Clear APT cache: The APT (Advanced Package Tool) cache can take up a significant amount of disk space over time. You can clear it by running the following command in the terminal:

sudo apt-get clean

Remove old packages: APT keeps older versions of packages that are installed on the system. You can remove them by running the following command:

sudo apt-get autoremove

Remove orphaned packages: Orphaned packages are packages that were installed as dependencies but are no longer required by any other package. You can remove them using the following command:

sudo apt-get autoremove --purge

Remove logs: Log files can also take up a significant amount of disk space. You can remove them by running the following command:

sudo find /var/log -type f -delete

Remove core dumps: Core dumps are files created when a program crashes and can take up a large amount of disk space. You can remove them by running the following command:

sudo find /var/crash -type f -delete
  • These steps should help you free up some disk space on your Chromebook running Debian. It's always a good idea to regularly check and clean up your disk space to keep your system running smoothly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions