Urpm Command - Package Management Tool

Learn to use the Urpm command for package management on Linux systems. Install, search, and uninstall packages efficiently with Urpm and Rpm commands.

Urpm Command - Package Management

The urpm command is a powerful tool for managing packages on Linux distributions that use the RPM package format, such as Mandriva and its derivatives. It simplifies the process of installing, updating, and removing software. Below are common usage examples for the urpm and related rpm commands.

Package Management Commands

This section details essential commands for interacting with your system's package repository using urpm and rpm.

Searching for Packages

To perform a fuzzy search for a package and view available versions and descriptions, use the urpmq command with the -Y option.

# To search (fuzzy) <package>:
urpmq -Y <package>

Checking Installed Packages

Verify if a specific package is already installed on your system using the rpm -q command.

# To check if <package> is installed:
rpm -q <package>

Installing Packages

To install a package from your configured repositories, use the urpmi command followed by the package name.

# To install <package>:
urpmi <package>

Downloading Packages Without Installation

If you need to download a package file for later use or inspection without installing it immediately, use urpmi with the --no-install option.

# To download <package> without installing it:
urpmi --no-install <package>

Uninstalling Packages

To remove a package from your system, use the urpme command followed by the package name.

# To uninstall <package>:
urpme <package>

Additional Resources

For more in-depth information on package management and RPM, consider exploring the following resources: