How to do a disk clean up?

I would like to do the equivalent of windows disk clean up tool, how would I do that on zorin? Is there anything else I could do to ease bloating or trim down to master it work faster?

1 Like

In terminal:

sudo apt clean

sudo apt autoremove


Ubuntu Cleaner

sudo apt install software-properties-common

sudo add-apt-repository ppa:gerardpuig/ppa

sudo apt install ubuntu-cleaner


sudo apt install bleachbit

1 Like

Will I lose any valuable files doing this?

Is anything meant to happen in between
sudo apt and sudo apt autoremove?

You can use each of the above commands individually or together. There is not much of anything happens in between.
The command 'sudo apt clean' will not lose valuable files.

The command 'sudo apt autoremove' is generally safe... But Always Read Terminal Output before hitting "y" key or (yes).
I cannot stress this enough: Always Read The Terminal Output before making a decision.
"Autoremove" removes automatically installed files. For example, if you 'sudo apt install gimp', it will install other necessary files for gimp along with the base gimp program. These are auto-installed.
You can mark any package you want to "manually installed" to prevent them ever being autoremoved. You can do this simply by trying to install it with APT even though it is already installed. For example, with gimp, it is installed - and you enter in 'sudo apt install gimp', the terminal will say, "gimp is already the latest version. Set to manually installed."
The other method of preventing autoremoval on a package is with apt-mark as covered in another thread.

sudo apt-mark manual (package-name)

Ref: Finding package name:

what about stacer, is it good?

1 Like

I like Stacer! I use it on occasion to view my computers status, or yes, to initiate a cleaning.

1 Like

I typed that in, I was asked for my password, which I entered correctly and it was accepted, then all I saw was the cursor flashing in terminal, in other words nothing happened.

the apt-clean command does not generally give any output. It just cleans out the apt-cache.

1 Like