Is there anything I need to be doing to "cleanup" my Ubuntu install?

I’ve noticed that the weekly backup takes longer and longer each week, I assume it’s because data piles up in logs and updates are installed which take up additional space as well.

Is there anything I need to worry about routinely to keep things clean and efficient? I guess I’m an Ubuntu newbie and just don’t want things piling up too much is all.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

The most common reason for your disk space usage to grow over time is log files getting larger. Setting up logrotate and archiving or deleting old log files you will no longer need can help with this.

We have a couple tutorials on setting this up, here and here.