Linux command
urpme 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Uninstall
sudo urpme [package]
Example
sudo urpme --auto-orphans
Example
sudo urpme --auto [package]
Simulate
urpme --test [package]
Example
sudo urpme --auto-orphans [package]
说明
urpme uninstalls packages in Mageia Linux. It handles package removal including dependency checking and can automatically remove orphaned packages that are no longer needed by any installed package. Part of the urpmi package management suite for Mageia (formerly Mandriva Linux).
参数
- --auto-orphans
- Remove orphaned packages (no longer needed as dependencies).
- --auto
- Automatically confirm removal without prompting.
- --test
- Simulate removal without actually changing the system.
- --justdb
- Update only the RPM database, do not remove files.
- --noscripts
- Do not execute package scriptlets during removal.
- -a
- Remove all matching packages if name is ambiguous.
- -v, --verbose
- Verbose output.
FAQ
What is the urpme command used for?
urpme uninstalls packages in Mageia Linux. It handles package removal including dependency checking and can automatically remove orphaned packages that are no longer needed by any installed package. Part of the urpmi package management suite for Mageia (formerly Mandriva Linux).
How do I run a basic urpme example?
Run `sudo urpme [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --auto-orphans do in urpme?
Remove orphaned packages (no longer needed as dependencies).