我只想知道rpm -ivh <packagename>
和rpm -uvh <packagename>
有什么不同。
发布于 2021-04-16 16:42:38
从手册页:
The general form of an rpm install command is
rpm {-i|--install} [install-options] PACKAGE_FILE ...
This installs a new package.
The general form of an rpm upgrade command is
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
This upgrades or installs the package currently installed to a newer
version. This is the same as install, except all other version(s) of
the package are removed after the new package is installed.
https://unix.stackexchange.com/questions/645468
复制相似问题