Читать книгу Mastering Linux System Administration - Richard Blum - Страница 111
Removing Package Files
ОглавлениеTo remove an installed package, just use the ‐e
action for the rpm
command.
# rpm -e zsh # rpm -q zsh package zsh is not installed # dnf list installed zsh Error: No matching Packages to list #
The ‐e
action doesn't show if it was successful, but it will display an error message if something goes wrong with the removal. You can check to make sure the removal was successful by using the ‐q
action to query the package database or by using the dnf list installed
command.