apt-get remove
remove o pacote em questão
apt-get purge
é equivalente a apt-get remove --purge
e removerá os arquivos de dados / configuração do usuário.
De man apt-get
:
purge purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).
e
--purge Use purge instead of remove for anything that would be removed. An asterisk ("*") will be displayed next to packages which are scheduled to be purged. remove --purge is equivalent to the purge command. Configuration Item: APT::Get::Purge.
o sinal -y
diz ao comando para prosseguir sem confirmação para questões triviais. Novamente, de man apt-get
:
-y, --yes, --assume-yes Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes.