Created
February 22, 2017 23:57
-
-
Save webarthur/5de2c14038c385ce4cc5fdc0d93c8ccb to your computer and use it in GitHub Desktop.
Elimina pacotes, dependências e bibliotecas sem uso no Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A partir da versão 12.04 - remover todos os kernels de versões antigas sem uso | |
# Elimina arquivos antigos (incluindo kernels). | |
sudo apt-get autoclean | |
# Elimina tudo o que foi baixado e guardado no diretório de cache do apt | |
sudo apt-get clean | |
# Procura por pacotes, dependências e bibliotecas sem uso e remove caso necessário | |
sudo apt-get autoremove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment