add APT cleanup script
This commit is contained in:
parent
c60f515583
commit
33c8b61f95
1 changed files with 12 additions and 0 deletions
12
apt_clean.sh
Executable file
12
apt_clean.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Cleans apt stuff
|
||||
|
||||
|
||||
# Clean /var/cache/apt/archives
|
||||
apt clean
|
||||
apt-get clean
|
||||
|
||||
# Removes orphaned packages that are no longer needed
|
||||
apt autoremove
|
||||
apt-get autoremove
|
||||
Loading…
Add table
Add a link
Reference in a new issue