Linux

Redhat Linux 9: Những lưu ý khi gỡ cài đặt trực tiếp gói RPM



ylist:

Link playlist
Red Hat Enterprise Linux Administration

2024 01 15 03 57 15

Uninstall an RPM Package
The rpm -e command uninstalls a package. But first, RPM checks a few things. It performs
a dependency check to make sure no other packages need what you’re trying to uninstall.
If dependent packages are found, rpm -e fails with an error message identifying these
packages. With properly configured RPMs, if you have modified related configuration files,
RPM makes a copy of the file, adds an .rpmsave extension to the end of the filename, and
then erases the original. It can then proceed with the uninstallation. When the process is
complete, it removes the package from the database.
Be very careful about which packages you remove from a system. Like many other
Linux utilities, rpm may silently let you shoot yourself in the foot. For example, if
you were to remove the packages that include the running kernel, it could render
that system unusable at the next boot.

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button