arllinux 4 months ago
parent
commit
19292fb069
1 changed files with 9 additions and 0 deletions
  1. 9 0
      clean/cleanSystem.sh

+ 9 - 0
clean/cleanSystem.sh

@@ -0,0 +1,9 @@
+#!/bin/bash
+
+sudo apt install deborphan
+sudo apt-get purge ${deborphan}
+sudo apt autoclean
+sudo apt clean
+sudo apt autoremove
+sudo dpkg -l | grep ^rc | awk '{print $2}' | xargs sudo dpkg -P
+