Windows 10 Cleanup

The goal is to cleanup files in the WinSxS folder
Refer: http://www.ghacks.net/2016/03/14/analyze-the-winsxs-folder/

Open a command prompt as Administrator
$ Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

The following kicks off the cleanup, this could take a while:
$ Dism.exe /online /Cleanup-Image /StartComponentCleanup

Ubuntu type of CCleaner called Stacer

Refer: https://www.fossmint.com/stacer-ubuntu-system-optimizer/

--------------- On Ubuntu 64-bit ---------------
$ wget https://github.com/oguzhaninan/Stacer/releases/download/v1.0.4/Stacer_1.0.4_amd64.deb
$ sudo dpkg --install Stacer_1.0.4_amd64.deb
$ Stacer

Ubuntu Cleanup Steps

First thing first there is a few commands that can clean up your disc. I will explain them as we go. First command is the package autoclean. What autoclean does is remove partial packages from the system. To use autoclean type the following command in a terminal:

$ sudo apt-get autoclean

Then enact the package clean command. What this commnad does is to clean remove .deb packages that apt caches when you install/update programs. To use the clean command type the following in a terminal window:

$ sudo apt-get clean

You can then use the autoremove command. What the autoremove command does is to remove packages installed as dependencies after the original package is removed from the system. To use autoremove tye the following in a terminal window:

$ sudo apt-get autoremove