1. Clean up residual configuration files after software removal
Method 1:
An instruction is done:
Dpkg-l | grep ' ^RC ' | awk ' {print $} ' | sudo xargs dpkg--purge 2 >/dev/null
Dpkg-l can be executed first | grep ' ^RC ' | awk ' {print $} ' to confirm
Method 2:
Using new Rieter Cleanup
(1) Installation of new Rieter: sudo apt-get install synaptic
(2) Start new rieter: sudo synaptic
(3) Switch to Status tab and find not installed (residual config)
(4) Cleaning
2. Clean up the downloaded cache package
sudo apt-get install clean
sudo apt-get install AutoClean
3. Clean up the unwanted packages
sudo apt-get install Autoremove
4. Clean up Orphaned packages
Install in the new Rieter Package Manager: Gtkorphan
Execute command on terminal: sudo gtkorphan in the first option can be deleted
5. Remove the excess kernel
1. View the current kernel version
2. View kernel files
Dpkg--get-selections | grep ' Linux ' | grep ' Image '
3. Delete the old kernel file
sudo apt-get remove kernel file name
Linux Applications: System cleanup