Читать книгу Mastering Linux System Administration - Richard Blum - Страница 101

Uninstalling Software with dnf

Оглавление

The dnf tool also provides an easy way to uninstall software you no longer need by using the remove option.

# dnf remove zsh Dependencies resolved. ============================================================================== Package Architecture Version Repository Size ============================================================================== Removing: zsh x86_64 5.5.1-6.el8_1.2 @BaseOS 7.2 M Transaction Summary ============================================================================== Remove 1 Package Freed space: 7.2 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: zsh-5.5.1-6.el8_1.2.x86_64 1/1 Erasing : zsh-5.5.1-6.el8_1.2.x86_64 1/1 Running scriptlet: zsh-5.5.1-6.el8_1.2.x86_64 1/1 Verifying : zsh-5.5.1-6.el8_1.2.x86_64 1/1 Installed products updated. Removed: zsh-5.5.1-6.el8_1.2.x86_64 Complete! #

Unlike the Ubuntu apt tool, dnf doesn't provide an option to remove the application files but keeps any configuration or data files. When you remove a package, everything associated with that package is removed.

Mastering Linux System Administration

Подняться наверх