How To Clean System Cache using Terminal Command on Ubuntu 18.04 and Linux mint or Debian Linux
we all have to clean once a month system cache this is good for our machine .
this is not tough you have to follow few steps .
Step 1 : To check the amount of space being used for package storage .
Command: du -h /var/cache/apt/
Step 2 : To remove these Extra packages stored here run .
command: sudo apt-get clean
Step 3 : To remove packages expired no longer available for download, normally you don't keep these .
Run Command: sudo apt-get autoclean
Step 4 : Remove packages that were used to satify dependencies for applications that are no longer needed
run Command: sudo apt-get autoremove
Step 5 : Press Y then enter
Step 6 : Check you System Cache clean or not ?
Command : du -h /var/cache/apt/
we all have to clean once a month system cache this is good for our machine .
this is not tough you have to follow few steps .
Step 1 : To check the amount of space being used for package storage .
Command: du -h /var/cache/apt/
Step 2 : To remove these Extra packages stored here run .
command: sudo apt-get clean
Step 3 : To remove packages expired no longer available for download, normally you don't keep these .
Run Command: sudo apt-get autoclean
Step 4 : Remove packages that were used to satify dependencies for applications that are no longer needed
run Command: sudo apt-get autoremove
Step 5 : Press Y then enter
Step 6 : Check you System Cache clean or not ?
Command : du -h /var/cache/apt/
Comments
Post a Comment